custom onKeyDown event on Dialog overrides default behavior #33616
Labels
component: dialog
This is the name of the generic UI component, not the React module!
status: waiting for author
Issue with insufficient information
Hi there, I'm trying to add some extra functionality for Dialog element based on keyboard keys, basically to handle some of them in onKeyDown event. But when I add my handler, the default functionality is not triggered. I.e. pressing Escape doesn't close it. Is there a way for me to handle additional keyboard keys for Dialog while keeping the default onKeyDown functionality (i.e. Escape)?
The text was updated successfully, but these errors were encountered: