You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling event.preventDefault() in the onSelect handler of ActionList.Item does not prevent closing the context menu. But it does work in onClick.
Screen.Recording.2023-04-12.at.11.57.00.AM.mov
I want to delay closing the context menu in order to give a user a visual feedback when something gets copied in their clipboard
Screen.Recording.2023-04-12.at.11.59.47.AM.mov
It works when using the onClick handler. But that makes it inaccessible to keyboard users.
I would expect that calling event.preventDefault() in the onSelect handler would prevent closing the menu so that I can do it manually when selecting the item with the mouse or they keyboard.