Releases: mxck/react-native-material-menu
Releases · mxck/react-native-material-menu
v2.0.0
Hello, everyone!
I was very surprised that this project, which I wrote 4 years ago, is used by a large number of people. Thank you!
For now, there will be minimal changes to the code and how the menu works. The goal was only to update the code base.
Breaking changes
-
Typescript. Types support will be out of the box.
Thanks to @KoreanThinker for develop of custom typings. -
Renamed
button
toanchor
andonHidden
toonRequestClose
. -
Menu
is now controlled byvisible
prop.
It is no longer necessary to use refs. -
Menu
export by name, not by default export.
Now you have to use thisimport { Menu } from 'react-native-material-menu'
-
MenuItem
now usesPressable
.
Fix: onHidden call on iOS
- Update all dev deps.
- Fix: onHidden call on iOS
React-native v0.62 support
- Remove prop-types
- Add
useNativeDriver
flag to animations
RTL support
- Automatic RTL support added! Thanks to @yaron1m
- Allow change animation duration. Thanks to @andreysam
Fix crash on react-native-web
v0.6.3 v0.6.3
Allow set custom ellipsizeMode in MenuItem
v0.6.1 v0.6.1
Add ripple effect on android
Use TouchableNativeFeedback
instead of TouchableHighlight
component for MenuItem
on android.
Fix menu position on android and fix some accessibility issues
Going to mobile
- Update menu style (remove padding and change border radius).
- Upgrade all deps and clean up.