Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of multi-select feature. #98

Open
wants to merge 99 commits into
base: master
Choose a base branch
from

Conversation

allroundexperts
Copy link

  • Added multi select option.
  • Added husky, making auto linting possible.
  • Upgraded RN to the latest version.

PS: Messed up the previous PR so created a new one.

peacechen and others added 30 commits January 27, 2017 17:14
overlayStyle and cancelContainer adjusted accordingly to dynamically center content in a generic fashion.
- versions of react native < 0.39.0 should pass flex:1 explicitly to selectStyle as a prop. 
- Update Readme to reflect selectStyle prop change for RN 0.39.
Set the container prop `pointerEvents="none"` for children (content) to allow touches to `TextInput` to flow through.
Fixes sizing when rotating between landscape & portrait orientations.
* Prop to change supported orientation
* add base eslint rules and fix lint errors
* add arbitrary eslint rules
- key-spacing
- no-empty-functions
- comma-dangle rules to prevent runtime errors
Backwards compatible with RN pre-0.44.
* add support for configurable animationType

* updated documentation
Update bitmap link and improve sample code.
* reverted style changes introduced in orientation fixes

* Updated style changes to correctly support cancel button

* reduced padding to 5%

* Updated overlayStyle in readme
* Optionally close the modal by pressing the overlay

In response to Close Modal on overlay click peacechen#28 peacechen#28 I have made it possible to pass a prop to the component ('backdropPressToClose', boolean, default value is false) which when true will close the modal but calling the close() method, just as pressing the 'cancel' button in the modal does.
* Added backdropPressToClose to documentation
peacechen and others added 23 commits January 17, 2019 22:16
* Update Modal propTypes due to deprecation in RN 0.58+
* Add selectedKey prop
* Update Readme
* Add initValueTextStyle prop
Fixes Expo issue when displaying the modal where the TouchableWithoutFeedback was causing a problem due to a RN bug in older versions (peacechen#118)
* added type definitions

* fix space

* label extractor returns string

* label optional for data item

* added markdown to type summary, added correct type for key property
* Add selected item to onModalClose function
- Added multi select option.
- Added husky, making auto linting possible.
- Upgraded RN to the latest version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.