Skip to content

[Bug]: TabsTrigger Allow only left-mouse button to change tab selection #2258

@abhishek-junghare

Description

@abhishek-junghare

Environment

OS: Windows 11 26200.7019
Reka UI version: 2.6.0
Browser: Chrome 141.0.7390.125

Link to minimal reproduction

https://reka-ui.com/docs/components/tabs

Steps to reproduce

Even if you check on the Reka UI website, you will get the issue - TabsTrigger

Try clicking middle or right mouse button on the tags trigger. In my case, the selected tab gets changed regardless of which mouse button I am using. It changes for all buttons.

Describe the bug

The tab selection should only change with the left mouse button, but it changes with middle and right mouse button as well.

Expected behavior

Context & Screenshots (if applicable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions