Skip to content

Commit

Permalink
Update _modal.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanPina authored Nov 29, 2024
1 parent ec96eac commit 3420b76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scss/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3420b76

Please sign in to comment.