Releases: instea/react-native-popup-menu
Releases · instea/react-native-popup-menu
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
MenuTrigger
leads 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
NotAnimatedContextMenu
for 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
Menu
outsideMenuContext
enhancements in handling of bigger context menus
0.4.1 release v 0.4.1
New Slide-in menu available
New slide-in menu is now available in addition to default (standard) context menu. Don't like any of them? Create your own renderer and plug it inside.
Add support for declarative control
Now you can control the menu in both ways - imperatively via instance methods or declaratively via props.
Aditional improvements
- Using only simple text menu options - now you can use handy shorthand property
text
- see examples.