alvarotrigo / alvarotrigo/fullPage.js

An issue while changing scrollingSpeed

未关闭
#1,399 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。