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
fix: prevent closing menu when event.preventDefault() is called on ActionList.Item's onSelect handler by @gr2m (#3346)
* fix: prevent closing menu when `event.preventDefault()` is called on `ActionList.Item`'s `onSelect` handler (#3163)
* test: prevent closing menu when `event.preventDefault()` is called on `ActionList.Item`'s `onSelect` handler
Failing test for #3162
* fix: prevent closing menu when `event.preventDefault()` is called on `ActionList.Item`ߴs `onSelect` handler
* add storybook example: Delayed Menu Close
* update docs
* docs: changeset
* Update changelog
---------
Co-authored-by: Siddharth Kshetrapal <[email protected]>
* Update generated/components.json
---------
Co-authored-by: Gregor Martynus <[email protected]>
Co-authored-by: siddharthkp <[email protected]>
"description": "Callback that is called when the item is selected using either the mouse or keyboard."
166
+
"description": "Callback that is called when the item is selected using either the mouse or keyboard. `event.preventDefault()` will prevent a menu from closing when within an `<ActionMenu />`"
"description": "Callback that is called when the item is selected using either the mouse or keyboard."
65
+
"description": "Callback that is called when the item is selected using either the mouse or keyboard. `event.preventDefault()` will prevent a menu from closing when within an `<ActionMenu />`"
0 commit comments