Skip to content

Conversation

@gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes #9486

Proposed Changes

This PR adds an inhibitReflowWrapper instance variable to the base Flyout class and uses it to prevent the reflow wrapper from running in preference to unregistering and reregistering the reflow wrapper listener. The latter approach was mutating the listener array such that other listeners could be missed when dispatching events.

@gonfunko gonfunko requested a review from a team as a code owner December 22, 2025 17:45
@gonfunko gonfunko requested a review from BenHenning December 22, 2025 17:45
@github-actions github-actions bot added the PR: fix Fixes a bug label Dec 22, 2025
Copy link
Collaborator

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

This seems like a very reasonable fix. Is it possible to add a test for this or is it too contrived?

@BenHenning BenHenning assigned gonfunko and unassigned BenHenning Dec 22, 2025
@gonfunko
Copy link
Contributor Author

Done!

@gonfunko gonfunko merged commit 93056bc into main Dec 23, 2025
7 of 8 checks passed
@gonfunko gonfunko deleted the ch-ch-ch-changes branch December 23, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flyout workspace cannot receive first BlockChange event

4 participants