Closed B-Houssam closed 3 years ago
i found a solution for it
you can open in the app project folder :
node_modules/rn-sliding-up-panel/SlidingUpPanel.js
and emove and replace the line 315 by the following:
const node = TextInput.State.currentlyFocusedInput() ? findNodeHandle(TextInput.State.currentlyFocusedInput()) : TextInput.State.currentlyFocusedField();
please update it to close the issue
+1
please update it to close the issue
Can you make a pull request with the fix?
it is fixed
The fix doesn't seem to work for me, I updated to V2.4.4 and still have this issue
Seeing this issue as well on 2.4.4
I created a PR: https://github.com/octopitus/rn-sliding-up-panel/pull/193
Issue Description
I'm using this package with a TextInput, but when the focus is on the TextInput (the keyboard appear) it gives an error :
currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput
Environment