[Tabs] Tab
activates when clicking non-primary mouse button
#1317
Labels
bug 🐛
Something doesn't work
component: tabs
This is the name of the generic UI component, not the React module!
Bug report
Current behavior
Tabs switch on any mousedown / pointerdown on the Tabs.Tab component.
Expected behavior
Presumably this should only happen on mousedown / pointerdown being the main button not also right or middle mouse click and such.
Reproducible example
https://master--base-ui.netlify.app/react/components/tabs
Use right or middle mouse button on the Tabs.Tab component
Base UI version
1.0.0-alpha.4
Which browser are you using?
Brave
Which OS are you using?
Windows
Which assistive tech are you using (if applicable)?
None
Additional context
The text was updated successfully, but these errors were encountered: