Current behaviour
When using react-native-paper on the web, a disabled Button still displays a pointer (cursor: pointer) on hover, making it appear clickable when it is not. This creates misleading UX, as the button should not indicate interactivity when disabled.
Expected behaviour
A disabled button should not visually indicate interactivity on hover.
This is what react-native Pressable or Button does.
How to reproduce?
Here a simple snack that replicates the issue https://snack.expo.dev/a3wbzrOwpg6A8hhoZF43k
Preview
Your Environment
| software |
version |
| react-native |
0.74.5 |
| react-native-paper |
5.13.1 |
| expo sdk |
51.0.28 |
Current behaviour
When using react-native-paper on the web, a disabled
Buttonstill displays a pointer (cursor: pointer) on hover, making it appear clickable when it is not. This creates misleading UX, as the button should not indicate interactivity when disabled.Expected behaviour
A disabled button should not visually indicate interactivity on hover.
This is what react-native
PressableorButtondoes.How to reproduce?
Here a simple snack that replicates the issue https://snack.expo.dev/a3wbzrOwpg6A8hhoZF43k
Preview
Your Environment