-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Bug]: Click on DataTable
filter menu item opens row context menu instead
#14387
Comments
@ffshreyansh Thank you for looking into this! In your screenshot, it looks like the underlying context menu can still be clicked from inside the multiselect dropdown. Could you share a forked stackblitz or where you applied the z-index, so I can test it? |
@btepe Sure !! Pls Check here: https://stackblitz.com/edit/carbon-v11-e9nxmi?file=src%2FApp.jsx Line No.: 134 |
@btepe @ffshreyansh I tested your example, and it seems like any z-index fixes the issue, and then I remembered I worked on something similar to this a few weeks ago. If you update your example to |
Closing as resolved, but feel free to let me know if there is something else I need to take a look at 👍🏻 |
@tw15egan Thank you for looking into this, the issue was indeed resolved by updating to |
Package
@carbon/react
Browser
Chrome, Firefox
Package version
v1.34.0
React version
v18.2.0
Description
We have a
DataTable
with aMultiSelect
for filtering in the toolbar and anOverflowMenu
in each row. There seems to be a conflict between the dropdown of the multi select and the icon buttons of the context menus underneath:For some reason, when hovering over one of the checkboxes/labels that are right above one of the context menu triggers, the icon button hover styles are applied and it is clickable. When you click in this area of the checkbox label, the dropdown of the multi select is closed and the context menu of the row is opened.
Reproduction/example
https://stackblitz.com/edit/carbon-v11-fvaiap?file=src%2FApp.jsx
Steps to reproduce
Protocol Filter Options
.Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: