react-spectrum
3f8e6e0e - fix event propagation when in contextual help or on submenutrigger

Commit
2 years ago
fix event propagation when in contextual help or on submenutrigger fixes case where arrowLeft was propagating through contextualhelp dialogs which we only want to have be closed via ESC. Also fixes event propagation for default cases for submenu triggers so that we can call it in useMenuItem useKeyboard. Now we still properly close only the submenu trigger menu when focus is on the trigger and the submenu is open
Author
Parents
Loading