Skip to content

Commit

Permalink
CustomSelect: disable virtualFocus to fix issue for screen readers …
Browse files Browse the repository at this point in the history
…in Safari
  • Loading branch information
brookewp committed Feb 2, 2024
1 parent b859f54 commit 756bf2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/custom-select-control-v2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export function CustomSelect( {
setValue: ( nextValue ) => onChange?.( nextValue ),
defaultValue,
value,
// fix for Safari bug: https://github.com/WordPress/gutenberg/issues/55023#issuecomment-1834035917
virtualFocus: false,
} );

const { value: currentValue } = store.useState();
Expand Down

0 comments on commit 756bf2b

Please sign in to comment.