简体   繁体   English

fullpage.js-如果'scrolloverflow'设置为true,则无法向下滚动到下一部分

[英]fullpage.js - If 'scrolloverflow' is set to true can't scroll down to the next section

I'm using Fullpage.js with scrolloverflow: true and autoscrolling: true . 我使用Fullpage.js与scrolloverflow: trueautoscrolling: true Once I reach the bottom of the section with overflowing content it won't jump to the next one unless I click on the next navigation dot. 一旦我看到内容溢出的区域的底部,除非单击下一个导航点,否则它将不会跳到下一个。

Tried to isolate the bug in a JS Bin, but I'm not able to reproduce it. 试图隔离JS Bin中的错误,但是我无法重现它。 No errors are found in the console, and I'm using the plugin's 2.8.1 version. 在控制台中未发现错误,我正在使用插件的2.8.1版本。

If you head to this bin you'll see that reaching the bottom of section 3 triggers the jump to section four. 如果您转到此垃圾箱,您会看到到达第3部分的底部会触发跳至第4部分。 This does NOT happen on my end. 并不在我结束发生。 Any ideas on what could it be or how to fix it? 关于它可能是什么或如何解决的任何想法?

My current settings to initialize fullpage.js are these: 我当前用于初始化fullpage.js的设置是:

$('#fullpage').fullpage({
  easingcss3: 'cubic-bezier(0.645, 0.045, 0.355, 1.000)',
  navigation: true,
  navigationPosition: 'left',
  scrollOverflow: true
});

Seems like this issue is a recent bug encountered when fullpage.js made the jump and started using iScroll. 似乎此问题是fullpage.js进行跳转并开始使用iScroll时遇到的最新错误。

Adding the following to the project's CSS seems to solve the problem: 在项目的CSS中添加以下内容似乎可以解决此问题:

.fp-scroller{
  overflow:hidden;
}

More information here . 更多信息在这里

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法在移动设备上使用fullpage.js在scrollable部分下方的overflow:auto元素进行交互,scrollOverflow:true - Can't interact on mobile with overflow:auto element underneath scrollable section using fullpage.js, scrollOverflow:true Fullpage.js:我可以使用哪个功能重新启动ScrollOverflow插件? - Fullpage.js: with which function I can restart the ScrollOverflow plugin? fullPage.js单页滚动 - 在最后一节之后无法滚动到页脚 - fullPage.js One Page Scroll - can't scroll to footer after the last section scrollOverflow / slimScroll在fullPage.js中无法正常工作 - scrollOverflow / slimScroll not working properly in fullPage.js 向下滚动fullpage.js触发事件? - fullpage.js trigger event on scroll down? Fullpage.js 通过水平向下滚动和在一个部分再次完成水平滚动后向下滚动? - Fullpage.js by Scrolling down scroll horizontally and on one Section go down after finishing scrol horizontal again? 固定的标题块,在带有“ scrollOverflow:true”的fullPage.js节中滚动 - Fixed Header Blocks Scrolling through fullPage.js Sections with “scrollOverflow: true” fullPage.js 上的 `scrollOverflow:true` 时如何使用默认浏览器滚动条? - How to use the default browser scrollbar when `scrollOverflow:true` on fullPage.js? 使用Fullpage.js和scrolloverflow.js禁用内容链接 - Disabled Content Links with Fullpage.js and scrolloverflow.js 使用Scrolloverflow.js + Fullpage.js包装的内容 - Work with content wrapped with Scrolloverflow.js + Fullpage.js
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM