You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for making react-plx. I've ran into a semi-serious feature that doesn't yet exist in that all scroll events are expected to come from the window. This makes it impossible to do something like body { overflow: hidden; } and have some child element actually be the one scrolling.
The feature request would be for plx to accept a scroll target, which means implementing it in both plx and scroll manager.
The text was updated successfully, but these errors were encountered:
Hello @Akkuma,
It is a tricky one indeed. I had an idea of adding scrollPosition (or just position) prop, and if it is passed it should be used instead of window scroll tracking. It would cover your case (scrolling elements instead of widow) but it would add additional flexibility.
It shouldn't be too hard, but I have a lot of going on atm, so I'm not sure when I'll get to it.
Got all my animations working with react-plx, but after applying the full layout, I had to move the scroll target to a specific div tag and... damn. :(
Thanks for making react-plx. I've ran into a semi-serious feature that doesn't yet exist in that all scroll events are expected to come from the window. This makes it impossible to do something like
body { overflow: hidden; }
and have some child element actually be the one scrolling.The feature request would be for plx to accept a scroll target, which means implementing it in both plx and scroll manager.
The text was updated successfully, but these errors were encountered: