SteveS Posted June 21, 2022 Share Posted June 21, 2022 I have a scrollTrigger that when hit is supposed to scroll to a certain position on the page. On desktop it is working fine, but when I use a touch emulator it ceases working. The tween fires, it is not autoKilling, no perceivable problem. It just doesn't scroll. It's as if there were nothing there. I'll put together a codepen if need be, but I am hoping someone knows what the issue might be without it. Link to comment Share on other sites More sharing options...
SteveS Posted June 21, 2022 Author Share Posted June 21, 2022 I figured out my issue. It is very specific to my setup. I'm using Observer to watch my scroll direction, and I believe that wheel vs touch have inverse scroll directions. Scrolling down the page with a wheel is an up input using touch. 1 Link to comment Share on other sites More sharing options...
GreenSock Posted June 21, 2022 Share Posted June 21, 2022 Yep, that sounds about right. FYI, if you need to, you can invert the wheel direction by setting wheelSpeed: -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