FLYPILOT Posted August 2, 2023 Share Posted August 2, 2023 Hello guys. I've this code already working on my project, when I want to scroll the page only section by section. However this have a "bug on MacOS" that depending on how "strong" the scroll movement is done, both touch pad and magic mouse, more the one section is scrolled in total. I've attached a pen with my code and a video showing the jumping. Is this a known issue? is there any solution for MacOS? In windows the animation is fine. Screen Recording 2023-08-02 at 18.12.11.mov See the Pen dyQaZxZ by jo-o-luiz-de-figueiredo-magalh-es (@jo-o-luiz-de-figueiredo-magalh-es) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted August 3, 2023 Share Posted August 3, 2023 Hi @FLYPILOT. Thanks for being a Club GreenSock member! I think that's just because those events keep being fired by Mac devices for a while. For example, if you flick hard on a magic mouse, you'll see that wheel events keep getting dispatched for a while. Same for touch pad interactions. So you need to code accordingly - it's not really a GSAP/ScrollTrigger issue. I'm not aware of a way to force Mac devices to immediately STOP dispatching those. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now