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

Open modal is shifting body content to the left #3934

Closed
rc125 opened this issue Jul 10, 2015 · 2 comments
Closed

Open modal is shifting body content to the left #3934

rc125 opened this issue Jul 10, 2015 · 2 comments

Comments

@rc125
Copy link

rc125 commented Jul 10, 2015

When launching the modal component the page to jump 15px to the left when a modal is opened.

Bootstrap v3.3 introduced additional JavaScript to overcome the flicker effect that occurs when a modal is rendered over a long page with a vertical scrollbar (see: twbs/bootstrap#9855). Bootstrap solves this problem by adding extra padding (equal to the width of the vertical scrollbar) to the body element when the modal opens.

AngularUI Modal's JavaScript doesn't yet appear to mimic this behavior.

@andrepitombeira
Copy link

This is duplicated. See #2631

I have a PR open to fix this problem #3144. There are some small modifications and I need to create a plunker. This weekend I'll finish it.

@wesleycho
Copy link
Contributor

Closing this as a duplicate of #3714

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

No branches or pull requests

3 participants