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
When opening a modal scrollbars are removed because overflow-y: hidden is applied to body. padding-right on body should compensate so that there is no jumping of the content. However padding-right is always 0px.
Bug description:
When opening a modal scrollbars are removed because
overflow-y: hidden
is applied to body.padding-right
on body should compensate so that there is no jumping of the content. Howeverpadding-right
is always0px
.This happens only on Bootstrap V5.
Can be reproduced on the official ngx-bootstrap site: https://valor-software.com/ngx-bootstrap/components/modals?tab=overview#service-disable-backdrop
Angular.Bootstrap.-.Google.Chrome.2025-03-24.21-21-22.mp4
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: v19
Angular: V19
Bootstrap: V5
Expected behavior
Should apply
padding-right
on body correctly as for Bootstrap 4The text was updated successfully, but these errors were encountered: