Skip to content

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