Closed Navipro70 closed 3 years ago
Please add following code to lib, for fast solution with new version of lib.
@punisher49 : Select the file: node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js Line 372 & replace: const currentlyFocusedField = TextInput.State.currentlyFocusedInput ? findNodeHandle(TextInput.State.currentlyFocusedInput()) : TextInput.State.currentlyFocusedField(); Save, and it's done 👍
node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js
const currentlyFocusedField = TextInput.State.currentlyFocusedInput ? findNodeHandle(TextInput.State.currentlyFocusedInput()) : TextInput.State.currentlyFocusedField();
Originally posted by @koff75 in https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/440#issuecomment-699637083
Oh, sorry. PR already merged 😅. But if you faced with this problem. Just run yarn add react-native-keyboard-aware-scroll-view to update lib in package.json.
yarn add react-native-keyboard-aware-scroll-view
Please add following code to lib, for fast solution with new version of lib.
@punisher49 : Select the file:
node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js
Line 372 & replace:const currentlyFocusedField = TextInput.State.currentlyFocusedInput ? findNodeHandle(TextInput.State.currentlyFocusedInput()) : TextInput.State.currentlyFocusedField();
Save, and it's done 👍Originally posted by @koff75 in https://github.com/APSL/react-native-keyboard-aware-scroll-view/issues/440#issuecomment-699637083