Skip to content

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