Skip to content

Conversation

noumansakhawat-dev
Copy link

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":"<>","left":33}] is not usable as a native method argument

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
@makarangeom
Copy link

I got this issue too

I'm try to install these version

https://gyazo.com/bb5be5715bc81cd25d8d20557d4de434

@enkechan
Copy link

enkechan commented Sep 15, 2020

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

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.

3 participants