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
Scrolling in Modal makes background scroll on Safari #7501
Comments
Duplicate of #3361? v3.0 is slated to fix this. Until then, maybe try http://jschr.github.io/bootstrap-modal/ ? |
What @cvrebert said. |
Hi again, thanks for your reply. I have tried the page but the problem is the same there. Many thanks! |
$('body').css('overflow','hidden'); |
Thanks to @alexanderstocker for his response. The overflow hidden part wasn't working by itself, but the position: fixed did the trick for me! |
Hi everyone,
I need to have some help with an annoying thing.
I have an modal popup which has vertical scrollsbar inside. When scrolling inside the modal sometimes the background scrolls instead.
I have tried to add
body .modal-open {
position:relative;
overflow: hidden;
}
which works fine on most of the browsers, but Safari for my iPhone still scrolls!
Please help me find how to solve this!
Regards Kristian
The text was updated successfully, but these errors were encountered: