CustomSelectControl does not prevent keypress events from bubbling up #30204
Labels
[Feature] UI Components
Impacts or related to the UI component system
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When you click a CustomSelectControl and start typing to move to an item, the event is not cancelled.
This may be related to
downshift
(potentially relevant PR there, though this is from some time ago: downshift-js/downshift#633)Step-by-step reproduction instructions
npm run storybook:dev
CustomSelectControl > Default
component, click it and start typings
to get to the entrySmall
s
keypress not being cancelled.Expected behaviour
Keypress events when using the CustomSelectControl should be cancelled before they are handled by other listeners.
Actual behaviour
Keypress events when using the CustomSelectControl are not cancelled before they are handled by other listeners.
Screenshots or screen recording (optional)
https://www.loom.com/share/bbff71315911464c884c15ae8fbf6618
WordPress information
Device information
The text was updated successfully, but these errors were encountered: