Open anarwade opened 7 years ago
In my fork I simply added a way to style the optionContainer and cancelContainer: https://github.com/atennapel/react-native-modal-picker/commit/d88050fa1a80727050a9a5e36f2ccb4adba13647
I need this too ,TKS!
I recommend removing the static _OPTION_CONTAINERHEIGHT and instead use flex. This would allow optionContainer to automatically stretch (or shrink) to its contents, limited by the device size of course.
I've submitted PR #37. In combination with PR #33, this gives users out of the box support for all screen sizes while allowing users the flexibility to customize to their hearts content.
Hi,
At the moment, there is no way to adjust the height of the optionContainer. Could you please add another property so we can change it? On some mobile phones this height (const OPTION_CONTAINER_HEIGHT = 400;) is too large and the cancel button shows outside the screen. Thank you
Greetings,
A. Narwade