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

Fix accessibility for dialogs #1678

Merged
merged 10 commits into from
Nov 6, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -1091,8 +1091,10 @@ internal class AccessibilityMediator(
while (true) {
invalidationChannel.receive()

// Wait until all changes in the accessibility tree have been completed
// and consume all invalidations
delay(1)
ASalavei marked this conversation as resolved.
Show resolved Hide resolved
while (invalidationChannel.tryReceive().isSuccess) {
// Do nothing, just consume the channel
// Workaround for the channel buffering two invalidations despite the capacity of 1
}

Expand Down
Loading