Releases: instea/react-native-popup-menu
Releases · instea/react-native-popup-menu
Better touchables!
Breaking changes:
- Android now uses
TouchableNativeFeedbackto better match the platform. Please check if new styles are OK for you. MenuContextnow 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"
Small bugfix
small usability improvement
Menu component was now exported as default and if someone accidentally (wrongly) used named export it would lead to errors. Now menu can be imported via both default and named export.
allow to render null menu options
Android visual opening fix
This release contains workaround around RN issue facebook/react-native#6278 which caused "butterfly" effect during opening menu (i.e. menu seems opened at start and then minimize and opened again).
small bug fix update
- fix: double export of
MenuTriggerleads in some situation to strange errors.
remove problematic .babelrc
previously packed .babelrc could cause problem to projects without needed babel preset installed. See issue #5
non animated menu renderer
- new renderer
NotAnimatedContextMenufor context menu without animation - easy way to change default renderer via static method
Menu.setDefaultRenderer
New styling possibilities
- now you are able to style almost any part of the library
- still not enough for you - use your own renderers
- visual change : components now have visual feedback (before no feedback)
- better exception when you accidentally use
MenuoutsideMenuContext
enhancements in handling of bigger context menus
0.4.1 release v 0.4.1