Support for React Native - 0.81
Current behaviour
Multiple components and animations started to break after upgrading to React native >=0.80
Expected behaviour
The package also supports the latest React native version
How to reproduce?
Just upgrade React native to the latest version and try the following components
- BottomNavigation
- Menu
- Button
Preview
https://github.com/user-attachments/assets/3600d885-48f5-46e9-8212-1419e23b4467 https://github.com/user-attachments/assets/a1b7070c-cf08-41a3-b49e-75e2cd181514 https://github.com/user-attachments/assets/65e875bf-ec02-4861-b964-3cdb7ead8b00 https://github.com/user-attachments/assets/2cc3bab1-6029-45ae-be4a-d1b0cc57b27e
What have you tried so far?
Your Environment
| software | version |
|---|---|
| ios | 18.6 |
| android | 34 |
| react-native | 0.80.2 |
| react-native-paper | 5.14.5 |
| node | 22.17.1 |
| npm or yarn | 4.9.2 |
| expo sdk | x.x.x |
Same issue with Menu component
As a hacky solution that works. We had a similar issue before with either Paper or similar library and re-rendering was a hacky solution which worked (until it's fixed properly).
<Menu
key={Math.random().toString()} // just as an idea, re-render when needed based on your logic