Open delthas opened 2 months ago
When i tried adding scrollbar-gutter: stable both-edges to root element of Bootstrap documentation, two things happen. The backdrop of modal is not taking the whole the whole screen and whole page shifts slightly to the left (caused probably by additional right padding added by bootstrap?). See the video attached
https://github.com/user-attachments/assets/aac24a65-18fb-4a1c-96d7-0a4e5b47fa98
Prerequisites
Describe the issue
When using
scrollbar-gutter: stable
(I use it on my root element), when I open a modal, the page contents shift slightly, and the gutter is shown as plain white instead of the expected gray overlay.Reduced test cases
I couldn't make the example work in CodePen, but here's a minimum reproducer:
Before clicking the dialog:
After clicking the dialog:
I made a screenshot of the whole viewport, at the exact same place. We can clearly see from one image to the next, that the button shifted slightly to the left when the dialog was opened. Also there are some white gutters after the dialog is opened.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
v5.3