You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
When there's vertical scrolling on the body and we open a new modal, UIBS (since v. 1.3) hides the scrollbar and adds a right padding to the body to compensate (to avoid the annoying body shift issue).
This padding is removed when the modal is closed.
However, when opening a modal from another modal, the padding is added twice (incorrectly, since we only need to add the padding once), and removed only once when the second modal is closed. This leaves the body with a right padding set and the content shifted.
Please see the attached plunker for an example.
Link to minimally-working plunker that reproduces the issue:
Bug description:
When there's vertical scrolling on the body and we open a new modal, UIBS (since v. 1.3) hides the scrollbar and adds a right padding to the body to compensate (to avoid the annoying body shift issue).
This padding is removed when the modal is closed.
However, when opening a modal from another modal, the padding is added twice (incorrectly, since we only need to add the padding once), and removed only once when the second modal is closed. This leaves the body with a right padding set and the content shifted.
Please see the attached plunker for an example.
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/g3EqeQYlz97xCUrMVkD1?p=preview
To reproduce:
Version of Angular, UIBS, and Bootstrap
Angular: 1.5.3
UIBS: 1.3.1
Bootstrap: 3.3.6
The text was updated successfully, but these errors were encountered: