-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
closing modal causes layout issues on the page #19882
Comments
Perhaps the button is snagging focus and jumping you back to it? |
Interesting. Same issue occurs when I focus on the button with JS |
Hmm It seems it's a browser behavior, not a bootstrap issue. Thanks for your help! |
checked previous pull requests. original pull request I think the pull request makes sense for accessibility reasons, but I think it's better if it checks if the element is actually in port of view, instead of checking if it is taking up space in the document. Thoughts? I updated CSS to fix this issue: |
Sounds like a uncommon enough case that I'm not sure it's worth handling. CC: @patrickhlauke |
Bootstrap 3 is no longer being officially developed or supported. All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4! <3, |
Hello,
I'm using Boostrap 3.3.6 and recently ran into a puzzling issue with the modal component.
Here's a jsfiddle to recreate this: http://jsfiddle.net/14qjajoh/
Browsers tested: latest Chrome & Firefox.
So I have a box container, which has two boxes, the 2nd one contains actions, and only shows up when the box container is hovered.
When I close the modal, the boxes are moved to the top...for no reason?
Clicking on the box itself fixes the layout though...
Is there anything wrong with my code?
Thanks!
P
===== more info
this only happens when the modal is invoked by clicking the button.
if it is displayed with javascript
then layout won't be affected after closing the modal (by using the Close buttons)
The text was updated successfully, but these errors were encountered: