react-native-paper
react-native-paper copied to clipboard
Fab.Group forgot to remove the click event of the fab label
Current behaviour
When "open" is set to false for a fab.group with labels, the label's click event is not removed correctly. Clicking on the original position of the tab label still triggers the click event.
Expected behaviour
When the "open" is set to false, there should have no click event
How to reproduce?
Install the latest version of [email protected]
Preview
Below is the screenshot of my app in web and F12
What have you tried so far?
In each action, I added "labelStyle: {pointerEvents: 'none'}," and this can solve the unexpected click-event.
Your Environment
| software | version |
|---|---|
| ios | x |
| android | x |
| react-native | 0.74.3 |
| react-native-paper | 5.12.5 |
| node | 20.15.0 |
| npm or yarn | 10.8.1 |
| expo sdk | 51.0.21 |