[我正在使用带有滚动魔术的gsap在我试图增强平滑滚动的项目上制作动画,它在固定部分上正常工作。
有帮助吗?
您可以尝试这种方式,也可以不使用scrollmagic来实现,因为基于mouswheel和scrolling事件被搁置了
https://bootsnipp.com/user/snippets/PD21m
https://greensock.com/forums/topic/20873-smooth-scrolling-solution-that-supports-scrollmagic/
https://greensock.com/forums/topic/17300-smooth-page-scroll/