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

Mobile: Fixes #8707: Fix not all dropdown items focusable with VoiceOver #8714

Merged

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented Aug 23, 2023

Summary

ItemList.js only rendered items that were currently visible and thus VoiceOver was, if no items were partially outside of the ScrollView's viewport, unable to scroll the viewport and load more items. This pull request updates Dropdown.tsx to use React Native's built-in FlatList instead of the custom ItemList.js.

Like ItemList, FlatList should only render items in/around the ScrollView's viewport.

This is a version of #8708 with fewer changes to Dropdown.tsx.

Resolves #8707.

Notes

@laurent22 laurent22 merged commit a3a7ab2 into laurent22:dev Aug 27, 2023
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.

iOS: VoiceOver: Can't focus all items in long dropdown menus
2 participants