微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

课程达到某个点后无法进一步滚动

如何解决课程达到某个点后无法进一步滚动

在移动设备上的 Firefox 和 Chrome 上,当类 .content-container 到达顶部时:0%;你不能进一步滚动。有谁知道如何解决这个问题?

Link to my site where this problem is happening.

这是我的 Javascript 代码

let controller = new ScrollMagic.Controller();
let timeline = new TimelineMax();

timeline.to('.image-3',3,{y: -110},'-=3').fromTo('.image-1',{y: -50},{y: 0},'-=3').to('.content-container',{top:"0%"},'-=3');

let scene = new ScrollMagic.Scene({
  triggerElement: "section",duration: "115%",triggerHook: 0,}).setTween(timeline).setPin('section').addTo(controller);

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。