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: flyouts resizing for blocks #6914

Merged
merged 3 commits into from
Mar 21, 2023

Conversation

BeksOmega
Copy link
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Discovered that flyouts were not being resized when blocks changed size (e.g. changing field values) during investigation of #4086 This was caused by #6860

Proposed Changes

Makes it so that events are always fired after the current frame finishes drawing. This ensures that all blocks have been rendered and their dimensions, positions, connection positions, etc are all updated before event listeners are triggered.

Reason for Changes

Event listeners would be working with info that wasn't up to date because they were triggered too early.

Test Coverage

Just manual testing.

Documentation

N/A

Additional Information

This fixes a regression and should go in before the release.

@BeksOmega BeksOmega requested a review from maribethb March 21, 2023 21:45
@BeksOmega BeksOmega requested a review from a team as a code owner March 21, 2023 21:45
@github-actions github-actions bot added the PR: fix Fixes a bug label Mar 21, 2023
@BeksOmega BeksOmega merged commit a7d250c into google:develop Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants