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

[react-interactions] Add FocusList component #16875

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Sep 24, 2019

This PR adds the FocusList component, to handle keyboard directional keys to move focus around parts of an application. It is somewhat similar to FocusTable, except with FocusList the direction is only portrait or landscape. To define this, there is a portrait boolean prop. If the FocusList is set to use portrait then the up and down keyboard keys will move the focus between the items of the FocusList.

@sizebot
Copy link

sizebot commented Sep 24, 2019

No significant bundle size changes to report.

Generated by 🚫 dangerJS against 7a12e47

@trueadm trueadm merged commit 68a87ee into facebook:master Sep 24, 2019
@trueadm trueadm deleted the focus-list branch September 24, 2019 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants