Releases: instea/react-native-popup-menu
Releases · instea/react-native-popup-menu
External prop-types (React 16)
Breaking change:
- Switch to new (React 16 ready) prop-types ( @DrPandemic )
- works only with newer versions of RN (check compatibility table)
Improvements:
- Better warning messages
Unofficial UWP support
According to the community this version should work for RN Windows. Although we don't make any promises to officially support it (won't test any future releases against UWP).
bugfixes
fix compatibility with older RN version
tested with RN 0.25 (but theoretically should work with RN 0.18)
backdrop animation added
backdrop is now also animated. it has real effect only if you style your backdrop.
small improvements
- even more styling options ( menu trigger can be flex now )
- add imperative methods also to
Menu
for more convenience
Added closing animations
- default context menu now animates also during closing (not only opening)
- opening/closing durations were aligned with material design guidelines (are bigger than previously)
25% performance improvement
See issue #18.
Better touchables!
Breaking changes:
- Android now uses
TouchableNativeFeedback
to better match the platform. Please check if new styles are OK for you. MenuContext
now applies additional{flex:1}
style. In most cases it is desirable but if you don't want that override it with<MenuContext style={{flex:0}}>
New features:
- Possibility to style menu backdrop
- Possibility to use different "touchables"