hellsan631/angular-fullpage.js

Problems with functions .moveTo, moveSectionDown, moveSectionUp.

ByMsx opened this issue · 0 comments

ByMsx commented

Dear, hellsan631!
Thanks for your work. I use your module for two sections.
Second section may be hidden, so I blocked mouse scrolling by $.fn.fullpage.setAllowScrolling(false), called in afterRender. When I'm trying to use moveTo or moveSectionDown(Up), it's working without any animations or not working at all.
I fixed it by commenting line 108.

https://github.com/hellsan631/angular-fullpage.js/blob/master/angular-fullpage.js#L108

I think, you have to check current animation before rebuilding fullpage.

Regards.