davidtheclark / davidtheclark/react-aria-tabpanel

Tab is not working as expected in safari

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

Description

Hello I encounter an issue with safari when the tag is button.

I used the latest version of react-aria-tabpanel

This is a working example on safari example :
```javascript
const tablink = (content, { isActive }) => (

{content}

);
```
Tab element inside a Wrapper and Tablist
```javascript

{tablink.bind(null, tab.locale.toUpperCase())}

```
Version who doesn't work
```javascript

{tablink.bind(null, tab.locale.toUpperCase())}

```
If I add the tag BUTTON the click listener doesn't fire

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.