Skip to content

Correct DOM order after scrolling in CollectionView#331

Merged
dannify merged 2 commits intomasterfrom
dom-order
Mar 31, 2020
Merged

Correct DOM order after scrolling in CollectionView#331
dannify merged 2 commits intomasterfrom
dom-order

Conversation

@devongovett
Copy link
Copy Markdown
Member

This restores the functionality we had in v2 that corrected DOM order after scrolling in CollectionView. This is necessary so that screen readers can navigate items in the expected order. For performance, we defer correcting the order until after scrolling and transaction animations are complete. I tested this using the Firefox accessibility inspector, along with VoiceOver on iOS and it seems to work as expected.

@adobe-bot
Copy link
Copy Markdown

Build successful! 🎉

Copy link
Copy Markdown
Member

@snowystinger snowystinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I won't lie, from a skim, this looks like magic because I'm not very familiar with this section of the code, any chance of tests?

@adobe-bot
Copy link
Copy Markdown

Build successful! 🎉

@dannify dannify merged commit 946fbe0 into master Mar 31, 2020
@dannify dannify deleted the dom-order branch March 31, 2020 20:39
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.

4 participants