Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

fix: use currentlyFocusedInput for latest RN #1010

Merged
merged 4 commits into from
Jun 25, 2020

Conversation

MaxEgg
Copy link
Contributor

@MaxEgg MaxEgg commented May 12, 2020

Replaced the currentlyFocusedField method with currentlyFocusedInput method. This fixes the error "currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput".

Motivation

CurrentlyFocusedField is deprecated.
Error being thrown when swiping with react-navigation.

Replaced the currentlyFocusedField method with currentlyFocusedInput method. This fixes the error "currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput".
src/Pager.tsx Outdated Show resolved Hide resolved
@satya164
Copy link
Owner

Thanks

@satya164 satya164 changed the title Update Pager.tsx fix: use currentlyFocusedInput for latest RN Jun 25, 2020
@satya164 satya164 merged commit a91ff87 into satya164:master Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants