Skip to content

Commit

Permalink
hide popper if reference is hidden (on div with overflow scroll)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyporter committed May 16, 2024
1 parent 218eb9e commit b19d41e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/bootstrap/fixes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,10 @@ a:not([href]):not([class])[type='button'] {
.form-control[readonly] {
background-color: var(--bs-secondary-bg);
}

// hide popper if reference is hidden (on div with overflow scroll)

[data-popper-reference-hidden] {
visibility: hidden;
pointer-events: none;
}

0 comments on commit b19d41e

Please sign in to comment.