lukaspawlik / react-native-dismissable-numeric-keyboard

Add extra button to numeric keyboard to allow user dismiss it.
MIT License
8 stars 5 forks source link

Adding returnKeyType="done" to TextInput with Numeric Keyboard causes app to crash #3

Closed jlcrow closed 7 years ago

jlcrow commented 7 years ago

react-native: 0.46.1 react: 16.0.0-alpha.12 react-native-dismissable-numeric-keyboard: 0.0.2 Adding property

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTTextField setInputAccessoryView:]: unrecognized selector sent to instance 0x7f8adf11f0e0'

kmcrawford commented 7 years ago

I see this happening on the following line: ((UITextField *)view).inputAccessoryView = toolbar;

simplenotezy commented 7 years ago

I have same issue

adeb6600 commented 7 years ago

i have the same issue

lukaspawlik commented 7 years ago

This module is not compatible with React Native 0.46.1 (and anything above 0.39). I am tagging this as enhancement as it's high time to upgrade this lib a bit.

jlcrow commented 7 years ago

I believe React 0.47 and above includes this functionality