Releases: instea/react-native-popup-menu
Releases · instea/react-native-popup-menu
Compatibility with React 19
Compatiblity with RN 0.77
most likely no real breaking change - we just changed how back handler unregistration is done. (thanks to @jacargentina)
Back handler registration change
Breaking change:
We have changed when the backhandler is registered. Initially it was registered during the mount but then it might happen that it was "overshaddowed" by another library.
Not the handler is registered after the menu is firstly opened. This as consequence might break functionality for custom backhandlers when they handle other things like closing the menu.
Fixes TS definition problem with React 18
0.15.13 release 0.15.13
Support for e2e testing
Now you can use new testID
prop.
TS definition update
- added TS definitions for
withMenuContext
- apply RTL also for not animated menu
isOpen is now "public"
Now you can check if menu is open directly via ref. Thanks to @LinusU
Plus TS definitions were enhanced.
API for MenuTrigger longpress
now it is possible conveniently access longpress of menu trigger via API
omit native driver for web
thanks to @oxyii
fix of 0.15.1
see #150