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 of viewport width #167

Merged
merged 1 commit into from
Oct 11, 2018

Conversation

sardyy
Copy link
Contributor

@sardyy sardyy commented Oct 11, 2018

Closes #165 .

Context

I'm using this as a dependency of one project I'm currently working on and realized that was a bug with a specific use case demonstrared below:

screen shot 2018-10-11 at 16 19 07

Basically the element is considered outside of the viewport even if it's inside of it, as you can see. I checked the issues and solution provided in #165 solved the problem, so I decided to make a PR.

Changes proposed in this pull request

Make the scrollable area width calculation correct

Copy link
Collaborator

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉💯

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