Skip to content

An issue while changing scrollingSpeed #1399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
spalax opened this issue Jul 27, 2015 · 1 comment
Open

An issue while changing scrollingSpeed #1399

spalax opened this issue Jul 27, 2015 · 1 comment

Comments

@spalax
Copy link

spalax commented Jul 27, 2015

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.

spalax added a commit to spalax/fullPage.js that referenced this issue Jul 27, 2015
@alvarotrigo
Copy link
Owner

I'll take a look at it in a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants