react-native-popup-menu

react-native-popup-menu

npm i react-native-popup-menu

63 Versions

0.16.1

latest
3 months ago

0.16.0

3 months ago

Breaking change:

We have changed when the backhandler is registered. Initially it was registered during the mount but then it might happen that it was "overshaddowed" by another library.

Not the handler is registered after the menu is firstly opened. This as consequence might break functionality for custom backhandlers when they handle other things like closing the menu.


0.15.13

4 months ago

0.15.12

1 year ago

0.15.11

1 year ago

0.15.10

2 years ago

Now you can use new testID prop.


0.15.9

2 years ago
  • added TS definitions for withMenuContext
  • apply RTL also for not animated menu

0.15.8

2 years ago

0.15.7

3 years ago

Now you can check if menu is open directly via ref. Thanks to @LinusU Plus TS definitions were enhanced.


0.15.6

4 years ago

0.15.5

4 years ago

now it is possible conveniently access longpress of menu trigger via API


0.15.4

4 years ago

thanks to @oxyii


0.15.3

4 years ago

0.15.2

4 years ago

see #150


0.15.1

4 years ago

#145: fix by @JesseRWeigel

pls upgrade to 0.15.2


0.15.0

4 years ago

#127: thanks to @JesseRWeigel


0.14.2

4 years ago

see #128

also updated TS definitions (thanks to @Cygra and @npmun )


0.14.1

4 years ago

thanks to @j-ornelas

others:

  • #128 update imports

0.14.0

4 years ago
  • ContextMenu should now try to avoid "unsafe" area (other renderers don't for now)
  • New warnings regarding multiple MenuProvider instances

0.13.3

4 years ago

thanks to @vkjr

v0.13.2 - support for RN 0.56 ( #111 )


0.13.2

4 years ago

0.13.1

5 years ago

0.13.0

5 years ago

We have replaced deprecated React lifecycle methods as well as old (and from start deprecated) React context API

Breaking changes:

  • React Native 0.55+ is required now
  • If you are using Popup Menu's old React context API, please upgrade to new API (see doc or MenuMethodsExample)

0.13.0-rc.1

beta
5 years ago

0.12.6

5 years ago

Thanks to @sebirdman


0.12.5

5 years ago
  • Added typescript definitions (@jokester )
  • (Possible) fix for devices with strange pixel density (see #85 )

0.13.0-beta.1

5 years ago

0.12.4

5 years ago

This support is unofficial - driven by community. Thanks to @johakr - see https://github.com/instea/react-native-popup-menu/pull/87


0.12.3

5 years ago

Menu.open/close now returns promise (similarly to MenuProvider API).


0.12.2

5 years ago

0.12.1

5 years ago

bug fix:

  • fix related to closing animation

0.12.0

5 years ago

MenuContext was confusing name kept for historical reasons. We believe new name MenuProvider is better fit (similarly to other "know" providers like redux, apollo...)

  • simply rename it to new name and you are done. If you have used it correctly it should be only in one place in your project (or just few places).

0.11.0

5 years ago
  • new renderer is available

BREAKING CHANGE:

  • MenuOption no longer have flex:1 style by default. In most cases it should not affect you but if so - please add custom styles if needed

0.10.0

5 years ago

we have rewrite internals of MenuOptions - MenuOption handling so that it is now easier to integrate popup menu with ScrollView, FlatList etc... see examples for more details.


0.9.1

5 years ago
  • fix #53 - non-standard menu opening case
  • #17 - better error warnings
  • #51 - add smooth animations also for slide-in menu

0.9.0

5 years ago
  • (@tiberiumihai) #49 useNativeDriver for ContextMenu

0.8.4

5 years ago
  • Fix #41 - some polyfills might cause problems with iterators
  • New MenuOption property disableTouchable (@jankarres)
  • Don't pass "unknown" properties to view (@knight33)

0.8.3

5 years ago

0.8.2

5 years ago

see #42 for more details

we have changed our internals but we haven't broken any our public API. As a nice consequence the performance should be improved.


0.8.1

5 years ago
  • now you can use our default implementation of backhandler (that closes menu on back button) or integrate your backhandler more easily if you have special needs.
  • this functionality must be explicitly switched on (see API or examples)
  • this functionality requires RN 0.44 but this version works also with older versions!

0.8.0

5 years ago

Breaking change:

  • Switch to new (React 16 ready) prop-types ( @DrPandemic )
    • works only with newer versions of RN (check compatibility table)

Improvements:

  • Better warning messages

0.7.5

6 years ago

According to the community this version should work for RN Windows. Although we don't make any promises to officially support it (won't test any future releases against UWP).


0.7.4

6 years ago
  • View.propTypes deprection in RN 0.44 fixed
  • closing animation for controlled menus fixed

0.7.3

6 years ago

tested with RN 0.25 (but theoretically should work with RN 0.18)


0.7.2

6 years ago

backdrop is now also animated. it has real effect only if you style your backdrop.


0.7.1

6 years ago
  • even more styling options ( menu trigger can be flex now )
  • add imperative methods also to Menu for more convenience

0.7.0

6 years ago
  • default context menu now animates also during closing (not only opening)
  • opening/closing durations were aligned with material design guidelines (are bigger than previously)

0.6.1

6 years ago

See issue #18.


0.6.0

6 years ago

Breaking changes:

  • Android now uses TouchableNativeFeedback to better match the platform. Please check if new styles are OK for you.
  • MenuContext now applies additional {flex:1} style. In most cases it is desirable but if you don't want that override it with <MenuContext style={{flex:0}}>

New features:

  • Possibility to style menu backdrop
  • Possibility to use different "touchables"

0.5.8

6 years ago

fix #12 : menu could jump a bit when opened more times improvement over #11 : gracefully handle "navigation bar" over context menu

note: MenuContext still should be on the top of your application to work correctly.


0.5.7

6 years ago

Menu component was now exported as default and if someone accidentally (wrongly) used named export it would lead to errors. Now menu can be imported via both default and named export.


0.5.6

6 years ago

fixes #9


0.5.5

6 years ago

This release contains workaround around RN issue https://github.com/facebook/react-native/issues/6278 which caused "butterfly" effect during opening menu (i.e. menu seems opened at start and then minimize and opened again).


0.5.4

6 years ago
  • fix: double export of MenuTrigger leads in some situation to strange errors.

0.5.3

6 years ago

0.5.2

6 years ago

previously packed .babelrc could cause problem to projects without needed babel preset installed. See issue #5


0.5.1

6 years ago
  • new renderer NotAnimatedContextMenu for context menu without animation
  • easy way to change default renderer via static method Menu.setDefaultRenderer

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

This version is initial public release of popup menu component that can be used as drop-in replacement of https://github.com/jaysoo/react-native-menu that should work with React Native 0.26 and additionally should not suffer of high CPU usage or ocational 'undefined' errors.

63 Versions

TagPublished
0.16.1latest3mos ago
0.16.03mos ago
0.15.134mos ago
0.15.121yr ago
0.15.111yr ago
0.15.102yrs ago
0.15.92yrs ago
0.15.82yrs ago
0.15.73yrs ago
0.15.64yrs ago
0.15.54yrs ago
0.15.44yrs ago
0.15.34yrs ago
0.15.24yrs ago
0.15.14yrs ago
0.15.04yrs ago
0.14.24yrs ago
0.14.14yrs ago
0.14.04yrs ago
0.13.34yrs ago
0.13.24yrs ago
0.13.15yrs ago
0.13.05yrs ago
0.13.0-rc.1beta5yrs ago
0.12.65yrs ago
0.12.55yrs ago
0.13.0-beta.15yrs ago
0.12.45yrs ago
0.12.35yrs ago
0.12.25yrs ago
0.12.15yrs ago
0.12.05yrs ago
0.11.05yrs ago
0.10.05yrs ago
0.9.15yrs ago
0.9.05yrs ago
0.8.45yrs ago
0.8.35yrs ago
0.8.25yrs ago
0.8.15yrs ago
0.8.05yrs ago
0.7.56yrs ago
0.7.46yrs ago
0.7.36yrs ago
0.7.26yrs ago
0.7.16yrs ago
0.7.06yrs ago
0.6.16yrs ago
0.6.06yrs ago
0.5.86yrs ago
0.5.76yrs ago
0.5.66yrs ago
0.5.56yrs ago
0.5.46yrs ago
0.5.36yrs ago
0.5.26yrs ago
0.5.16yrs ago
0.5.06yrs ago
0.4.16yrs ago
0.4.07yrs ago
0.3.07yrs ago
0.2.07yrs ago
0.1.07yrs ago