Skip to content

Commit

Permalink
prevent help menu from loading while searching
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Clark <[email protected]>
  • Loading branch information
phclark committed Nov 17, 2023
1 parent bd848c9 commit c93191d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/src/app/components/rollouts-toolbar/rollouts-toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ export const RolloutsToolbar = ({
placeholder='Filter by name or label tag:value'
value={filters.name}
onChange={handleNameFilterChange}
onKeyDown={(event) => {
event.stopPropagation(); // Prevents shift+H from opening the help menu
}}
ref={searchRef}
/>
</Tooltip>
Expand Down

0 comments on commit c93191d

Please sign in to comment.