Closed fluxxus closed 5 years ago
This may be the quickest closed github issue ever. It seems that scrollmagic
is smart enough that it calculates everything beforehand, even though the scene is not actually activated yet.
I am initialising menuspy
after those calculations and now it works perfectly.
I am using
menuspy
withscrollmagic
library. Sincescrollmagic
creates pinned scenes, it changes the height of each scene when one is activated by scrolling to its position.I would like to have
menuspy
update its calculations when a scene is activated, because right now it is not aware of changed dimensions and it goes through whole navigation while I am basically just scrolling through one of the sections.I can put up an online demo of needed.