Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more focus management APIs #5706

Open
harinikmsft opened this issue Aug 12, 2020 · 0 comments
Open

Add more focus management APIs #5706

harinikmsft opened this issue Aug 12, 2020 · 0 comments
Labels
Area: Keyboard enhancement Needs: PM Design New feature or request Workstream: Component Parity Close the parity gap between RNW and RN for core RN components and their supporting APIs.
Milestone

Comments

@harinikmsft
Copy link
Contributor

harinikmsft commented Aug 12, 2020

Proposal: Introduce more robust focus management APIs

Summary

Native frameworks have tons of focus management APIs which can be brought forward to RN. We have done the first bit with onFocus(), onBlur() etc., and there are more that can be brought here like the ones mentioned in this comment thread.

Some APIs from React that were mentioned so far as would be good to have in React Native include:

  • beforeBlur/afterBlur (Windows equivalent: LosingFocus/LostFocus)
  • focusin/focusout (Windows equivalent maybe: GettingFocus/LosingFocus)

Filing this proposal to track revisiting this after Fabric is completed.

@ghost ghost added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Aug 12, 2020
@chrisglein chrisglein added this to the Backlog milestone Aug 13, 2020
@chrisglein chrisglein added Area: Keyboard Needs: PM Design New feature or request and removed Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) labels Aug 13, 2020
@chiaramooney chiaramooney added the Workstream: Component Parity Close the parity gap between RNW and RN for core RN components and their supporting APIs. label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Keyboard enhancement Needs: PM Design New feature or request Workstream: Component Parity Close the parity gap between RNW and RN for core RN components and their supporting APIs.
Projects
None yet
Development

No branches or pull requests

3 participants