Leaving OverflowMenu open, onclick of action item. Menu should get closed when clicked outside overflowmenu. #11077
Replies: 3 comments
-
@Ankita-Jaiswal Yes, carbon/packages/react/src/components/OverflowMenu/OverflowMenu.js Lines 204 to 212 in 9db9b14 |
Beta Was this translation helpful? Give feedback.
-
@tay1orjones , its Data table toolbar menu. However, i have tried using open/onOpen/onclick etc, yet on click of action items it's closed and if inspect element, you will observe, that node is removed immediately |
Beta Was this translation helpful? Give feedback.
-
@Ankita-Jaiswal You'll need to override the |
Beta Was this translation helpful? Give feedback.
-
We are using DataTable with Toolbar Menu. This menu is basically action items to hide/show columns(achieved through checkbox for each column )and column reordering. So every time, click on the checkbox or arrow up/down to reorder column...it closes the overflow menu. Is there any way to keep this overflow menu open and close it only when the user clicks outside overflow menu
Beta Was this translation helpful? Give feedback.
All reactions