wix-incubator / react-native-keyboard-input

Use your own custom input component instead of the system keyboard
MIT License
819 stars 150 forks source link

Fix findNodeHandle uses for React 16.3 refs #54

Closed radex closed 6 years ago

radex commented 6 years ago

react-native-keyboard-input would break if you passed kbInputRef={ref} where ref was created using React.createRef().

artald commented 6 years ago

thanks for the PR @radex

can you please make a small refactor and create a single method that uses findNodeHandle with this logic?

radex commented 6 years ago

Sure @artald ! Done :)

artald commented 6 years ago

thanks!