There is page shift when opening and closing the uib-modal
. Check https://angular-ui.github.io/bootstrap/#/modal . Notice the scrollbar disappearance and appearance.
This question is already asked here (Opening AngularJS modal causes page to shift if scrollbar exists) but doesn't has a working soultion. The only solution given was to set overflow-y
to body which creates vertical scrolling even if the scrolling is not needed.
body{
overflow-y: scroll !important;
}
Also visited the following links but couldn't implement it for uib-modal
. Is there any fix to solve this issue? Thanks in advance.