DEV Community

Harri jefria
Harri jefria

Posted on

Answer: how to fix currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput

I have the same issue. I fixed this issue by the following steps.

  1. First find this file form the @react-navigation package form the node_modules folder.

enter image description here

  1. Replace all currentlyFocusedField() with currentlyFocusedInput().

  2. Reload your application.

That's all. Thanks.

Top comments (0)