diff --git a/scss/_modal.scss b/scss/_modal.scss index ee58032ee811..683a4fa58a82 100644 --- a/scss/_modal.scss +++ b/scss/_modal.scss @@ -51,9 +51,12 @@ // Shell div to position the modal with bottom padding .modal-dialog { - position: relative; + position: fixed; //this line fix an error with new KeyboardFocusableScrollersEnabled Feature in chromium based navs when use an input on modal dialog width: auto; margin: var(--#{$prefix}modal-margin); + overflow: scroll; + height: 100vh; + left: calc(var(--#{$prefix}modal-margin)/2); // allow clicks to pass through for custom click handling to close modal pointer-events: none;