php - 使用机车滚动后无法向下滚动
问题描述
我正在制作一个主页,当我实施 Locomotive Scroll 时,它卡在我的滑块上,我无法向下滚动。我试图隐藏我的滑块并且它起作用了。知道为什么它不能与我的滑块一起使用吗?
const scroller = new LocomotiveScroll({
el: document.querySelector('[data-scroll-container]'),
smooth: true
});
解决方案
推荐阅读
- docker - Google App 引擎 32MB 最大请求大小限制 - 如何上传大文件?
- c - Gtk。GtkScrolledWindow 未显示为 GtkStack 子项
- javascript - 单选按钮不会选中/取消选中
- javascript - 如何在 javascript 中制作和引用配置文件
- python - 无法在谷歌协作中的 tensorflow 中训练完整批次
- javascript - 如何使用 jQuery 删除脚本
- c# - EF Core 6 ThenInclude 引用错误
- javascript - JavaScript 中的语法 x:y 是什么意思?
- javascript - 按下 Enter 按钮后将光标保持在文本框上
- javascript - 为什么 WebView.evaluateJavascript 方法被调用了两次?