-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
[Tabs] TabPanel doesn't allow click through #1457
Comments
@M1dnight-ofcl Would you mind providing a repro? You can fork this sandbox: https://codesandbox.io/p/sandbox/gzrqk5 |
I'll see if I could do one later |
Alr I've made a repro: https://codesandbox.io/p/sandbox/gracious-monad-lkn2s3 |
@M1dnight-ofcl I think this isn't a bug in the library, it may be caused by something in your CSS, maybe It works using the docs styles: https://codesandbox.io/p/sandbox/quirky-platform-xm6zx2?file=%2Fsrc%2FApp.tsx%3A17%2C24 |
The thing, it doesn't make sense as when I apply my fix it works again. It's a problem with the tab overtop not setting itself to be able to be clicked through when hidden. This may be a problem with my own implementation, but iy also mat be a problem with the library itself |
@M1dnight-ofcl In your sandbox, the inactive Panel still has |
👋 Thanks for using this project! We use GitHub issues exclusively as a bug and feature requests tracker, however, this issue appears to be a support request. For support with Base UI please check out https://base-ui.com/react/overview/about#community. If you have a question on Stack Overflow, you are welcome to link to it here, it might help others. |
Bug report
Repro: https://codesandbox.io/p/sandbox/gracious-monad-lkn2s3
Current behavior
My app uses the tab components like this:

(That tab bar is on the side and the panels are the focus point)
Expected behavior
When I switched to a tab before the latest tab, interaction would not work.
Reproducible example
Code:
Base UI version
1.0.0-alpha.6
Which browser are you using?
Microsoft Webview2 (in wails)
Which OS are you using?
Windows 11
Additional context
I do have a workaround for this issue. I appended this to my stylesheet:
The text was updated successfully, but these errors were encountered: