Skip to content

Releases: peacechen/react-native-modal-selector

v1.0.1

18 Jan 04:17
Compare
Choose a tag to compare

Add support for custom components in options list (#98).
Update SampleApp to RN 0.57.8 .
Add pass through props for Text components (#92).

v1.0.0

07 Nov 15:57
Compare
Choose a tag to compare

Enhancement:
Improved accessibility (9cdf7c3):

  • Add more accessibility props: cancelButtonAccessible, scrollViewAccessible, listItemAccessible, openButtonContainerAccessible.
  • Updated docs for accessibility. Also fixed a problem with android when open the list, the first item should be focused now.

BREAKING:

  • Removing accessibility-prop in favor of more granular control.

v0.0.29

08 Sep 07:40
eabb8c0
Compare
Choose a tag to compare

New method getSelectedItem() supports getting current selected item programmatically (f9984c1)

v0.0.28

16 Aug 15:49
74ab38d
Compare
Choose a tag to compare

Enhancements

  • New prop (modalOpenerHitSlop) to adjust hit slop (the area that user can click) of touchable that opens modal (#64)
  • New prop (customSelector) to render a custom selector node (i.e. a replacement for the touchable that opens the modal) (#72)
  • New prop (closeOnChange) to determine if modal should close when user make a selection (#74)
  • New prop (selectedItemTextStyle) to style currently selected element (#75)

Bugfixes

  • Accessibility fix (#73)

v0.0.27

10 Apr 15:23
Compare
Choose a tag to compare

Add visible prop to control open/close state of modal (#46)
Replace componentWillReceiveProps with componentDidUpdate (#60)
Add modal opening/closing event callbacks (#59)
Readme: Fix formatting of props and code example

v0.0.26

29 Mar 15:45
Compare
Choose a tag to compare
  • Added TouchableOpacity activeOpacity option via props (#53)
  • Key/Label extractors of data (#56)
  • New prop passThruProps, that enables support for custom props (e.g. testID) (#48)

v0.0.25

21 Feb 15:37
Compare
Choose a tag to compare

childrenContainerStyle and touchableStyle props added (#51)
Added accessibility labels (#49)
Use arrow instead of bind (#40)
Add cancelContainerStyle prop to Readme

v0.0.24

30 Nov 12:09
Compare
Choose a tag to compare

Enhancement

  • added cancelContainerStyle prop (a132470)

v0.0.23

25 Nov 10:30
Compare
Choose a tag to compare

Bugfix

In v0.0.22 onDismiss-prop was used for both Android and iOS running RN >= 0.50, but only iOS supports this (76bf77c)

v0.0.22

23 Nov 13:24
Compare
Choose a tag to compare

Enhancements

  • Fix onChange when modal closes (only for RN >= 0.50) (ccb4323)

  • Removed border on last element in list (bc5bec3)