bootstrap
bootstrap copied to clipboard
Fix: Opening a modal with scrollbar-gutter: stable shifts the page content and shows white (non grey-overlayed) gutters
This pull request addresses #40659 issue. I have modified the modal code to check if the parent or any ancestor element contains scrollbar-gutter: stable. If it does, the additional padding is removed, preventing the content shift