react-native-modal-dropdown
react-native-modal-dropdown copied to clipboard
Update ModalDropdown.js
The top value is not valid value which is return is NAN. Error: Invariant Violation: [757,"RCTView",91,{"position":"absolute","height":"auto","borderWidth":1,"borderColor":4291022286,"borderRadius":2,"backgroundColor":4294967295,"justifyContent":"center","borderTopWidth":0,"width":372.6,"marginTop":17.92,"shadowColor":4278190080,"shadowOffset":{"width":0,"height":2},"shadowOpacity":0.25,"shadowRadius":3.84,"elevation":5,"top":"<<NaN>>","left":33}] is not usable as a native method argument
I got this issue too
I'm try to install these version
- v0.7.0
- "react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git", but, still has an error please, help me
https://gyazo.com/bb5be5715bc81cd25d8d20557d4de434
This error occued when you define the dropDown's height style property and the value is not numeric. You can located the error at .../node_modules/react-native-modal-dropdown/components/ModalDropdown.js line 264.
To resolve this problem, just given a numeric value to the dropDown Component.
My English is so weak. Wish you can understand.hah