-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I use Dropddown or ComboBox in TableToolbarMenu, the popup menu will be closed upon selecting an option #6412
Comments
Must have something to do with the click handler, using the keyboard to make a selection doesn't cause the menu to close 🤔 |
@tw15egan Is there any way for me to override the click handler? |
Any estimation on when will this issue be fixed? |
Any update on this? |
…ombox item is clicked.
handleClickOutside = (evt) => {
if (
this.state.open &&
(!this._menuBody || !this._menuBody.contains(evt.target))
) {
this.closeMenu();
}
}; The issue seems to be related to the OverflowMenu component. It has a click listener that is triggered if the user clicks outside the overflow menu (the |
…closing_when_combobox_item_is_clicked Close carbon-design-system#6412 - Prevent overflowmenu closing when combox item is clicked.
If I use Dropddown or ComboBox in TableToolbarMenu, the popup menu will be closed upon selecting an option
What package(s) are you using?
@carbon/icons-react - 10.13.0
carbon-components - 10.15.0
carbon-components-react - 7.15.0
Detailed description
Basically whenever I select an option in
Dropdown
orCombobox
, theTableToolbarMenu
popup will be closed. This behavior is not seen withSelect
I expect the behavior to be the same with
Select
Chrome
10.15.0
The text was updated successfully, but these errors were encountered: