Skip to content

Releases: mxck/react-native-material-menu

v2.0.0

Choose a tag to compare

@mxck mxck released this 23 Aug 19:28

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

Choose a tag to compare

@mxck mxck released this 06 Dec 12:05
  • Update all dev deps.
  • Fix: onHidden call on iOS

React-native v0.62 support

Choose a tag to compare

@mxck mxck released this 02 Apr 04:29
  • Remove prop-types
  • Add useNativeDriver flag to animations

RTL support

Choose a tag to compare

@mxck mxck released this 23 Aug 13:13
  • Automatic RTL support added! Thanks to @yaron1m
  • Allow change animation duration. Thanks to @andreysam

Fix crash on react-native-web

Choose a tag to compare

@mxck mxck released this 26 Jun 17:11
v0.6.3

v0.6.3

Allow set custom ellipsizeMode in MenuItem

Choose a tag to compare

@mxck mxck released this 12 Jun 11:23
v0.6.1

v0.6.1

Add ripple effect on android

Choose a tag to compare

@mxck mxck released this 27 May 18:37

Use TouchableNativeFeedback instead of TouchableHighlight component for MenuItem on android.

Fix menu position on android and fix some accessibility issues

Choose a tag to compare

@mxck mxck released this 26 May 18:01
v0.5.1

v0.5.1

Going to mobile

Choose a tag to compare

@mxck mxck released this 25 Jul 15:56
  • Update menu style (remove padding and change border radius).
  • Upgrade all deps and clean up.

0.3.0

Choose a tag to compare

@mxck mxck released this 10 Apr 05:55
  • Remove ellipsis animation on show menu (by use modern react context).
  • Use createRef instead of callback.
  • Clean up code