Skip to content
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]: TableToolbarContent with TableBatchActions causes Popover content to be hidden #16508

Open
2 tasks done
eharvey328 opened this issue May 20, 2024 · 0 comments
Open
2 tasks done

Comments

@eharvey328
Copy link

Package

@carbon/react

Browser

Chrome

Package version

1.57.0

React version

18.3.1

Description

When using Popover content in the TableToolbarContent with a TableBatchActions, the clip-path on the TableToolbarContent causes the Popover content to be hidden.

We have a workaround to detect when the batch actions animation completes to conditionally add "clip-path: none" to the TableToolbarContent.

It would be nice to have either

  1. onBatchAnimationComplete callback on the TableBatchActions
  2. have the clip-path fix built into the TableToolbarContent.

Reproduction/example

https://stackblitz.com/edit/vitejs-vite-n5ctm8?file=src%2FApp.tsx

Steps to reproduce

In the stackblitz example:

  • click the "filter" Icon button in the table toolbar
  • see that nothing happens

You can uncomment L44 in App.tsx to add the conditional clip-path style, then:

  • click the "filter" Icon button in the table toolbar
  • see the filter popover

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

3 participants