davidtheclark / davidtheclark/react-aria-tabpanel

controlled tabpanel tabs do not change on second click

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
121
Forks
28
PR merge metrics
No merged PRs in 30d

Description

@davidtheclark Hi, I'm using the controlled tab panel, the only problem is that it seems to fire a click event on clicking a tab. Now if I for example I do not update the state to the requested tab.

The tab will not be able to receive a secondary click.

The same is for when I change tab by updating a state after a click on a button within the tabpanel, it will not be able to go back to the previous tab by click the tab. It looks like the mouse/click event is being fired causing an uncontrolled propagation..

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.