React Native Material Menu Versions Save

Pure JavaScript material menu component for React Native

v2.0.0

2 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.

v1.2.0

3 years ago
  • Update all dev deps.
  • Fix: onHidden call on iOS

v1.1.2

4 years ago
  • Remove prop-types
  • Add useNativeDriver flag to animations

v1.0.0

4 years ago
  • Automatic RTL support added! Thanks to @yaron1m
  • Allow change animation duration. Thanks to @andreysam

v0.6.3

4 years ago

v0.6.1

4 years ago

v0.6.0

5 years ago

Use TouchableNativeFeedback instead of TouchableHighlight component for MenuItem on android.

v0.5.1

5 years ago

v0.4.0

5 years ago
  • Update menu style (remove padding and change border radius).
  • Upgrade all deps and clean up.

v0.3.0

6 years ago
  • Remove ellipsis animation on show menu (by use modern react context).
  • Use createRef instead of callback.
  • Clean up code