Skip to content

Commit

Permalink
nav: Pass through click on menu icon
Browse files Browse the repository at this point in the history
  • Loading branch information
garrett committed Jul 25, 2023
1 parent 43273d7 commit 920b864
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/shell/nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,11 @@ $desktop: $phone + 1px;
text-decoration: none;
outline: 1px dotted var(--pf-v5-global--BackgroundColor--light-100);
}

// The way the event is handled, it checks for the button, but not the icon. It should bubble, but doesn't. We can work around this by passing mouse events through.
svg {
pointer-events: none;
}
}

// In mobile view keep the non PF4 of displaying hover / focus state in the masthead / toolbar items
Expand Down

0 comments on commit 920b864

Please sign in to comment.