Skip to content

Document usePreventFocusRestore in stack navigator - #1532

Open
Bardiamist wants to merge 1 commit into
react-navigation:mainfrom
Bardiamist:docs/stack-prevent-focus-restore
Open

Bardiamist wants to merge 1 commit into
react-navigation:mainfrom
Bardiamist:docs/stack-prevent-focus-restore

Conversation

@Bardiamist

Copy link
Copy Markdown

Docs for the usePreventFocusRestore hook from react-navigation/react-navigation#13358 (the code PR links back to this one).

  • Added usePreventFocusRestore to the Hooks section of the 8.x stack navigator page.
  • Mentioned in keyboardHandlingEnabled that it also controls restoring focus to the previously focused input.

If the hook gets backported to 7.x, I'll add it to the 7.x page too.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant