Skip to content

Commit

Permalink
refactor(MetroModeSelector): Keep keyboard focus in mode option popup…
Browse files Browse the repository at this point in the history
…s until dismissed.
  • Loading branch information
binh-dam-ibigroup committed Feb 27, 2023
1 parent 1b015e1 commit c80bbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trip-form/src/MetroModeSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function ModeButton({
</InvisibleA11yLabel>
</button>
{renderDropdown && (
<FloatingFocusManager context={context} modal={false}>
<FloatingFocusManager context={context}>
<HoverPanel
// This library relies on prop spreading
// eslint-disable-next-line react/jsx-props-no-spreading
Expand Down

0 comments on commit c80bbdd

Please sign in to comment.