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: triggering flyout show from field render causing infinite loop #7784

Merged
merged 2 commits into from
Jan 12, 2024

Conversation

BeksOmega
Copy link
Collaborator

@BeksOmega BeksOmega commented Jan 12, 2024

The basics

The details

Resolves

Fixes #7783

Proposed Changes + Reason for changes

Makes it so that rerenders can be triggered in specific workspaces. This way flyouts only trigger renders in their workspace (which is necessary for calculating their size correctly) but don't rerender blocks in other workspaces (which is causing #7783 )

Test Coverage

Manually tested using the repro steps in #7783
Will add unit tests. [Edit: Done]

Documentation

N/A

Additional Information

N/A

@github-actions github-actions bot added the PR: fix Fixes a bug label Jan 12, 2024
@BeksOmega BeksOmega marked this pull request as ready for review January 12, 2024 19:37
@BeksOmega BeksOmega requested a review from a team as a code owner January 12, 2024 19:37
@github-actions github-actions bot added PR: fix Fixes a bug and removed PR: fix Fixes a bug labels Jan 12, 2024
@BeksOmega BeksOmega merged commit 5ade042 into google:develop Jan 12, 2024
8 checks passed
maribethb pushed a commit that referenced this pull request Jan 17, 2024
…7784)

* fix: triggering flyout show from field render causing infinite loop

* chore: add tests for triggering queued renders

(cherry picked from commit 5ade042)
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.

Showing a flyout from inside a field render_ creates infinite loop
2 participants