Skip to content

Commit

Permalink
fix(menu): prevent hover color flash when opening (#9549)
Browse files Browse the repository at this point in the history
Co-authored-by: Taylor Jones <tay1orjones@users.noreply.github.com>
  • Loading branch information
janhassel and tay1orjones committed Aug 27, 2021
1 parent 7a1779b commit 5d75e13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/components/menu/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

.#{$prefix}--menu--invisible {
opacity: 0;
pointer-events: none;
}

.#{$prefix}--menu-option {
Expand Down
1 change: 1 addition & 0 deletions packages/styles/scss/components/menu/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

.#{$prefix}--menu--invisible {
opacity: 0;
pointer-events: none;
}

.#{$prefix}--menu-option {
Expand Down

0 comments on commit 5d75e13

Please sign in to comment.