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

Fix calculation for {force: false, offset: nonZero} #139

Merged
merged 2 commits into from
Sep 10, 2019

Conversation

nburlett
Copy link
Contributor

Undo the pre-applied offset when calculating whether the element is already
visible (and therefore we shouldn't scroll).

Fixes #138

nburlett and others added 2 commits April 10, 2019 18:28
Undo the pre-applied offset when calculating whether the element is already
visible (and therefore we shouldn't scroll).

Fixes rigor789#138
@rigor789 rigor789 merged commit f01ce23 into rigor789:master Sep 10, 2019
@rigor789
Copy link
Owner

🎉 This PR is included in version 2.16.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Incorrect visibility calculation with {force: false, offset: nonZero}
2 participants