-
Notifications
You must be signed in to change notification settings - Fork 135
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
Modal jumps underlying page if scrolled #93
Comments
A little poking around, and there seems to be something about chrome not liking html element to have a height of 100%. Content gets cut off. |
For some reason, setting height:auto !important; on the html element seems to make it work in chrome. Not tested in other browsers though. |
Yeah that would make sense... I just had a quick test with the live responsive site and disabling the I'll have to build and test on multiple browsers to be sure. If you have a chance could you please do so. |
When you open a modal (In Chrome on Windows at least) if you are scrolled down the page, when the modal opens, the underlying page scrolls back to the top, then on modal close, scrolls back to the previous position.
I understand this is to prevent the background scrolling and thus loosing position while the dialog is open, but when you have a semitrasparent modal background, it looks odd that the page beneath jumps rather than just maintaining it's current position.
I think it would be a much better user experience and less confusing if the page behind could stay at it's current scrolled position.
The text was updated successfully, but these errors were encountered: