react-native-keyboard-avoiding-scroll-view icon indicating copy to clipboard operation
react-native-keyboard-avoiding-scroll-view copied to clipboard

ERROR <currentlyFocusedField is deprecated>

Open Sxoo opened this issue 4 years ago • 4 comments

Screenshot 2021-06-10 at 09 35 51 Screenshot 2021-06-10 at 09 37 04

Sxoo avatar Jun 10 '21 06:06 Sxoo

+1

alantoa avatar Jul 24 '21 14:07 alantoa

Very similar to this issue: https://github.com/react-navigation/react-navigation/commit/35d6b9e3a4a28a59b3b11a67acbf7753d41705ae

sgolovine avatar Oct 04 '21 14:10 sgolovine

Hi,

You can change it with currentlyFocusedInput() and create a patch with patch-package.

Hoping this will help...

thegdznet avatar Feb 04 '22 16:02 thegdznet

Made @fivecar/react-native-keyboard-avoiding-scrollview to:

  1. Get rid of the currentlyFocusedField error.
  2. Bring the library up to modern Typescript (e.g. for KeyboardAvoidingFlatList to use types correctly.

fivecar avatar Mar 11 '25 19:03 fivecar