alvarotrigo / alvarotrigo/fullPage.js

normalScrollElements triggering AutoScroll when mouse stopped

未關閉
#3,549 7 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
bug Help needed Might not be possible
主要語言
JavaScript
星號
35.4k
分支
7.1k
PR 合併指標
30 天內沒有已合併 PR

描述

I have an issue with using normalScrollElements. For the most it works as expected: overflow in my _.test_ div scrolls. Sometimes however it randomly scrolls up or down a full section, without reaching the top or end of the normal-scrolling element. It seems to happen when scrolling too fast, but it also happens sometimes on a single wheel-scroll trigger.

[See screencast](https://cl.ly/dcacf89a0854)

Settings:

```
menu: "#menu",
navigation: true,
slidesNavigation: true,
normalScrollElements: ".test",
```

html:



Some text

Some text

Some text

Some text

Some text

Some text


css:
```

.test {
height: 200px;
width: 600px;
overflow-y: scroll;
margin: 0 auto;
}

.box {
display: block;
background: red;
margin: 20px;
padding: 20px;
}

```

The site is running the fullpage angular plugin

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。