Skip to content

Releases: mxck/react-native-material-menu

v2.0.0

23 Aug 19:28
Compare
Choose a tag to compare

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.

Fix: onHidden call on iOS

06 Dec 12:05
Compare
Choose a tag to compare
  • Update all dev deps.
  • Fix: onHidden call on iOS

React-native v0.62 support

02 Apr 04:29
Compare
Choose a tag to compare
  • Remove prop-types
  • Add useNativeDriver flag to animations

RTL support

23 Aug 13:13
Compare
Choose a tag to compare
  • Automatic RTL support added! Thanks to @yaron1m
  • Allow change animation duration. Thanks to @andreysam

Fix crash on react-native-web

26 Jun 17:11
Compare
Choose a tag to compare

Allow set custom ellipsizeMode in MenuItem

12 Jun 11:23
Compare
Choose a tag to compare

Add ripple effect on android

27 May 18:37
Compare
Choose a tag to compare

Use TouchableNativeFeedback instead of TouchableHighlight component for MenuItem on android.

Fix menu position on android and fix some accessibility issues

26 May 18:01
Compare
Choose a tag to compare

Going to mobile

25 Jul 15:56
Compare
Choose a tag to compare
  • Update menu style (remove padding and change border radius).
  • Upgrade all deps and clean up.

0.3.0

10 Apr 05:55
Compare
Choose a tag to compare
  • Remove ellipsis animation on show menu (by use modern react context).
  • Use createRef instead of callback.
  • Clean up code