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

Firefox moves the whole body to the right #11

Closed
anselmh opened this issue Mar 5, 2013 · 2 comments
Closed

Firefox moves the whole body to the right #11

anselmh opened this issue Mar 5, 2013 · 2 comments
Labels

Comments

@anselmh
Copy link
Contributor

anselmh commented Mar 5, 2013

This is weird. Firefox moves the whole body to right a little bit when opening the modal or when it's open.

@anselmh
Copy link
Contributor Author

anselmh commented Mar 5, 2013

Found the solution. This is because the modal is small enough so Firefox removes vertical scrollbars.
Solved by adding overflow-y: scroll but not sure if this should be prevented somehow in modal…?

@drublic
Copy link
Owner

drublic commented Mar 5, 2013

This happens in all browsers, since the has-overlay class removes overflow-y in order to prevent the background-page from scrolling.
We need another solution for that where the overflow is not visible but the scrollbars are.

Will look into it soon.

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

No branches or pull requests

2 participants