-
Notifications
You must be signed in to change notification settings - Fork 374
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
Use flex to automatically size optionContainer to its contents. #37
base: master
Are you sure you want to change the base?
Conversation
overlayStyle and cancelContainer adjusted accordingly to dynamically center content in a generic fashion.
merged into my fork |
Thanks @fabriziomoscon. Do you publish your fork to NPM? I noticed that you also removed flex:1 from selectStyle for RN 0.39 compatibility: I haven't tested against 0.39, but if you've vetted it I'll add that change to my PR. |
At the moment my
I am not planning to republish it under a different name. Yes I tested it with RN 0.39.2 on android |
- 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.
Is there an update on getting this merged? In need of this functionality but would like to use the original repo. |
This repo is abandoned, I have cheery picked few PR from here in my fork since I am using this code in production. |
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.
See #168 for description of error
* add option param to onModalClose type * export props
* update 1) updated expo version of sample app to 40.0.0 2) added typescript to sample app 3) converted sample app.tsx from class component to functional 4) fixed types issue * added more types
Co-authored-by: Arthur Arakelyan <artur.araqelyan.2004@gmail.com>
This allows the modal contents to automatically fit any screen.