[Tabs] Close current active Tab content when clicking the trigger again #2548
Replies: 1 comment
-
That functionality isn't really a common thing with application tabs so we won't support it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Tabs and I need to close all tabs when clicking the active one again.
Example: Clicking the "Reuse" tab trigger, it's content should be closed.

Right now, the workaround is to use either
onMouseDown
oronPointerDown
but this feels hacky. Is there any other way to do this?Beta Was this translation helpful? Give feedback.
All reactions