halilb / react-native-textinput-effects

Text inputs with custom label and icon animations for iOS and android. Built with react native and inspired by Codrops.
MIT License
2.98k stars 291 forks source link

iOS and Android issue. Cannot even open screen. RN: 59 #98

Open AfanasievN opened 5 years ago

AfanasievN commented 5 years ago

Cannot even open screen while using this textInput i think it is related to #72

Simulator Screen Shot - iPhone 8 Plus - 2019-03-12 at 19 12 39

halilb commented 5 years ago

Thanks for reporting @AfanasievN.

I just upgraded the example project to react-native 0.59, and did not encounter any problems on Android or iOS. And this might not be the same problem with #72 as the exception stack is different there:

com.facebook.react.bridge.JSApplicationIllegalArgumentException: Error while updating property 'backgroundColor' in shadow node of type: AndroidTextInput

Can you send me a full example of your code? And you can also checkout the example project that resides in this repository.

agungkes commented 5 years ago

I don't have any problem using react-native 0.59.2. This exception appear because <<Nan>> in your width

LightKnight3r commented 5 years ago

https://github.com/halilb/react-native-textinput-effects/commit/e75aa9bb0e217b745845d02e18ea2b156c2940b2

this commit

halilb commented 4 years ago

Is this still a problem?