Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Content is shifted when modal opens #2894

Closed
nastakhov opened this issue Oct 27, 2014 · 4 comments
Closed

Content is shifted when modal opens #2894

nastakhov opened this issue Oct 27, 2014 · 4 comments

Comments

@nastakhov
Copy link

This issue seems to be fixed in bootstrap 3.2.0, but still exists in angular ui.

Thread on bootstrap

This is can be reproduced at http://angular-ui.github.io/bootstrap/#/modal

@chrisirhc
Copy link
Contributor

Do you mean this is a problem on the Angular UI Bootstrap website? That's because the website uses Bootstrap 3.1.1.

If this is still an issue after you upgrade Bootstrap to 3.2.0, could you create a Plunker using Bootstrap 3.2.0 that demonstrates this issue?

@rafalsep
Copy link

This has been fixed in bootstrap 3.2.0 but won't be automatically fixed in angular-ui since fix is applied via javascript not css.
In bootstrap 3.2.0 when modal opens padding-right is added to prevent content from moving.
This is only an issue under Chrome. IE works fine.

Function that does that can be found in bootstrap.js and is called setScrollbar.

@nidzovito
Copy link

Hopeisnear is right.
I have similar issues.
Even bootstrap 3.3.0 fixed this issue but this is still existing in angular-ui

@chrisirhc
Copy link
Contributor

Closing this as duplicate of #2631 . PRs welcome.

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

No branches or pull requests

4 participants