This repository was archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Open modal is shifting body content to the right #3714
Milestone
Comments
Not sure if this is something UI Bootstrap should do since it's part of the styling. |
More info for Bootstrap twbs/bootstrap#9855 |
This is my first thought as well: |
Referencing this here, could be a solid fix: |
+1 |
Please do not just "+1" issues. If you would like to show your support for a fix, PRs are welcome. Simply adding the text "+1" adds no inherent value and clutters up the thread. Thanks. |
kunal999
added a commit
to kunal999/bootstrap
that referenced
this issue
Oct 29, 2015
- If body has vertical scrollbar and appendTo element is 'body', add right padding to body equivalent to scrollbar width. Also, conditionally add right or left padding to modal window Closes angular-ui#3714
kunal999
added a commit
to kunal999/bootstrap
that referenced
this issue
Oct 30, 2015
kunal999
added a commit
to kunal999/bootstrap
that referenced
this issue
Oct 30, 2015
Set modal window padding after modal is rendered. Remove unnecessary null checks. Set modal padding properties only when required. Closes angular-ui#3714
kunal999
added a commit
to kunal999/bootstrap
that referenced
this issue
Oct 30, 2015
- If body has vertical scrollbar and appendTo element is 'body', add right padding to body equivalent to scrollbar width. Also, conditionally add right or left padding to modal window Closes angular-ui#3714
kunal999
added a commit
to kunal999/bootstrap
that referenced
this issue
Oct 30, 2015
kunal999
added a commit
to kunal999/bootstrap
that referenced
this issue
Oct 30, 2015
Set modal window padding after modal is rendered. Remove unnecessary null checks. Set modal padding properties only when required. Closes angular-ui#3714
Closing as a duplicate of #2631 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When the page has a vertical scroll and opens a modal window, the vertical scroll on the page hiding. Because of this, the content moves to the right. In the Bootstrap this problem is solved by adding right padding to the body when scroll hiding.
http://plnkr.co/edit/ynWJUbnryVkSHdEjFRMw?p=preview
The text was updated successfully, but these errors were encountered: