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

fix(modal): Open modal is shifting body content to the right on Chrom… #5531

Closed
wants to merge 2 commits into from

Conversation

j-vallet
Copy link

…e and Firefox

Port of issues fixes twbs/bootstrap#9855 and twbs/bootstrap#15353

I had to move the addClass on body before the animation.

Maybe it would have been better to set the padding on the appendToElement instead of the body ?

Closes #2631

@wesleycho
Copy link
Contributor

There is already a helper function in the uibPosition service - @RobJacobs how would you recommend this be refactored?

@RobJacobs
Copy link
Contributor

I would like to see all this moved to the $uibPosition service, there is nothing here specific to the modal directive and this could potentially be useful somewhere else. I'll put a PR together...

@wesleycho
Copy link
Contributor

Closing as I believe a fix is already in a release

@wesleycho wesleycho closed this May 22, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the background move a little when opening a modal. Open modal is shifting body content to the left
3 participants