Skip to content
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

Removing unconditional setUnfixed() call #236

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IlyaDiallo
Copy link

The setUnfixed call in the scroll trigger was introduced in this commit.

At the time it was probably required for some cases, but in the current code checkScroll calls setUnfixed internally in all the cases where it's required. The problem with the extra unconditional setUnfixed call I'm removing is that it's messing with the position variable when the status is already "unfixed" and the consequence is the risk of spurious scrolling of the display, for example when a fixed div is redrawn (similar to #230).

@IlyaDiallo IlyaDiallo changed the title Removing redundant setUnfixed() call Removing unconditional setUnfixed() call Jun 24, 2017
@Brockenstein
Copy link

@IlyaDiallo I am having problems with the scrolling but this change did not fix that for me.

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

Successfully merging this pull request may close these issues.

2 participants