Skip to content

Conversation

@rjrjr
Copy link
Collaborator

@rjrjr rjrjr commented Apr 30, 2025

If we have nested ComposeView instances they can trigger redundant updates from their onAttachedToWindow() hooks. When DialogCollator gets duplicate calls from BodyAndOverlaysContainer in that situation it throws away earlier ones to avoid creating duplicate Dialog windows when doUpdate() fires.

@rjrjr rjrjr force-pushed the ray/ComposeView-DialogCollator-Fight branch from 1f84fa1 to cdf6418 Compare April 30, 2025 15:54
@rjrjr rjrjr changed the base branch from main to release_1.16 April 30, 2025 15:55
rjrjr added 2 commits April 30, 2025 09:28
If we have nested `ComposeView` instances they can trigger redundant updates from their `onAttachedToWindow()` hooks. When `DialogCollator` gets duplicate calls from `BodyAndOverlaysContainer` in that situation it throws away earlier ones to avoid creating duplicate `Dialog` windows when `doUpdate()` fires.
@rjrjr rjrjr force-pushed the ray/ComposeView-DialogCollator-Fight branch from cdf6418 to c30044e Compare April 30, 2025 16:28
@rjrjr rjrjr marked this pull request as ready for review April 30, 2025 18:35
@rjrjr rjrjr requested review from a team and zach-klippenstein as code owners April 30, 2025 18:35
@rjrjr rjrjr merged commit 11bc258 into release_1.16 Apr 30, 2025
43 checks passed
@rjrjr rjrjr deleted the ray/ComposeView-DialogCollator-Fight branch April 30, 2025 18:35
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.

3 participants