Frants Posted December 11, 2020 Share Posted December 11, 2020 Hello guys! Im trying to build app with three.js scene, where is camera params binded to a scroll position Threre is some snap-points on timeline, which serve as keystates for camera movement Problem with snapping. Here is video https://drive.google.com/file/d/1Us_aJ9F9DJfjEyDqsODP-u0fOCUcnukt/view?usp=sharing Velocity is jumping and snapping is not working as expected in chrome Version 87.0.4280.88 Same codepen work nicely in Firefox 83.0 😶 All transitions for animated camera must be smooth, and snap must instantly after scrolling, (without any delay as it for now in firefox). Will be glad for any help 🙂 See the Pen JjRbeXe by frantsmn (@frantsmn) on CodePen Link to comment Share on other sites More sharing options...
Solution ZachSaucier Posted December 11, 2020 Solution Share Posted December 11, 2020 Hey Frants and welcome to the GreenSock forums. This issue looks like a bug when the user's zoom level is not 100% that we've already fixed in the latest beta as the thread below describes. Can you please try the latest beta and see if it resolves your issue? https://assets.codepen.io/16327/ScrollTrigger.min.js 1 1 Link to comment Share on other sites More sharing options...
Frants Posted December 11, 2020 Author Share Posted December 11, 2020 Thank you for your prompt response! Latest beta https://assets.codepen.io/16327/ScrollTrigger.min.js works perfectly! 1 Link to comment Share on other sites More sharing options...
ZachSaucier Posted December 11, 2020 Share Posted December 11, 2020 8 minutes ago, Frants said: Latest beta https://assets.codepen.io/16327/ScrollTrigger.min.js works perfectly! 🎉 Glad to hear it. Thanks for the report anyway. 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