react-native-material-menu

Pure JavaScript material menu component for React Native

MIT License

Downloads
41.6K
Stars
500
Committers
15
react-native-material-menu - v2.0.0 Latest Release

Published by mxck about 3 years ago

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 to anchor and onHidden to onRequestClose.

  • Menu is now controlled by visible prop.
    It is no longer necessary to use refs.

  • Menu export by name, not by default export.
    Now you have to use this import { Menu } from 'react-native-material-menu'

  • MenuItem now uses Pressable.

react-native-material-menu - Fix: onHidden call on iOS

Published by mxck almost 4 years ago

  • Update all dev deps.
  • Fix: onHidden call on iOS
react-native-material-menu - React-native v0.62 support

Published by mxck over 4 years ago

  • Remove prop-types
  • Add useNativeDriver flag to animations
react-native-material-menu - RTL support

Published by mxck about 5 years ago

  • Automatic RTL support added! Thanks to @yaron1m
  • Allow change animation duration. Thanks to @andreysam
react-native-material-menu - Fix crash on react-native-web

Published by mxck over 5 years ago

react-native-material-menu - Allow set custom ellipsizeMode in MenuItem

Published by mxck over 5 years ago

react-native-material-menu - Add ripple effect on android

Published by mxck over 5 years ago

Use TouchableNativeFeedback instead of TouchableHighlight component for MenuItem on android.

react-native-material-menu - Fix menu position on android and fix some accessibility issues

Published by mxck over 5 years ago

react-native-material-menu - Going to mobile

Published by mxck over 6 years ago

  • Update menu style (remove padding and change border radius).
  • Upgrade all deps and clean up.
react-native-material-menu - 0.3.0

Published by mxck over 6 years ago

  • Remove ellipsis animation on show menu (by use modern react context).
  • Use createRef instead of callback.
  • Clean up code
react-native-material-menu - Add MenuDivider

Published by mxck almost 7 years ago

react-native-material-menu - First public release

Published by mxck almost 7 years ago

Package Rankings
Top 1.72% on Npmjs.org
Top 6.72% on Proxy.golang.org
Badges
Extracted from project README
npm license
Related Projects