Skip to content

Commit

Permalink
fix(styles): update popover styles to exclude pointer events (#10067)
Browse files Browse the repository at this point in the history
Co-authored-by: DAK <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Nov 9, 2021
1 parent 902eefa commit 3bd0462
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/styles/scss/components/popover/_popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
// Container
.#{$prefix}--popover-container {
position: relative;
display: inline-block;
}

/// Modifiers
Expand Down Expand Up @@ -109,6 +110,7 @@
bottom: 0;
left: 0;
filter: $popover-drop-shadow;
pointer-events: none;
}

// Popover content
Expand All @@ -121,6 +123,7 @@
background-color: $popover-background-color;
border-radius: $popover-border-radius;
color: $popover-text-color;
pointer-events: auto;
}

.#{$prefix}--popover--open .#{$prefix}--popover-content {
Expand Down

0 comments on commit 3bd0462

Please sign in to comment.