alvarotrigo / alvarotrigo/fullPage.js
An issue while changing scrollingSpeed
- 主要语言
- JavaScript
- 星标
- 35.4k
- 派生
- 7.1k
- PR 合并指标
- 30 天内没有已合并 PR
描述
I have found, issue, when i change scrollingSpeed onRendered to the scrollingSpeed = 0
and after all my resources are loaded, i change scrollingSpeed to the normal 700.
And what exactly i expecting and what i have:
when i change scrollingSpeed to 0 i expecting that fullpage primary container "#fullpage"
```
$('#fullpage').fullpage({....})
```
will have style like
```
style=".....;transition: all 0ms ease"
```
and it is works as expected. But when i change scrollingSpeed back to the 700
i expect that style will looks like:
```
style=".....;transition: all 700ms ease"
```
but it doesn't until i will do some scroll or another action when fullpage will recalculate or whatever.
It is a bit unexpected, because if i have any elements on page which should move fullpage container animatedly, it will cause an ugly jump for fullpage container.
贡献指南
评估
这个 Issue 还没有评估数据。