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: use the most recent IntersectionObserver entry in form-layout #8596

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

web-padawan
Copy link
Member

Description

Fixes #8564

I was unable to come up with a reliable test for this since the case where IntersectionObserver entries accumulate between callback invocations generally requires some slow rendering, like in the reproduction example provided.

Type of change

  • Bugfix

@vursen
Copy link
Contributor

vursen commented Jan 30, 2025

Just for reference: We are considering dropping IntersectionObserver completely in #8590. It seems to become unnecessary when FormLayout is based on CSS grid. However, the investigation is still ongoing.

@web-padawan web-padawan merged commit f047f75 into main Jan 31, 2025
9 checks passed
@web-padawan web-padawan deleted the fix/form-layout-intersection-observer branch January 31, 2025 09:29
@vaadin-bot
Copy link
Collaborator

Hi @web-padawan and @web-padawan, when i performed cherry-pick to this commit to 24.6, i have encountered the following issue. Can you take a look and pick it manually?
Error Message:
Error: Command failed: git cherry-pick f047f75
error: could not apply f047f75... fix: use the most recent IntersectionObserver entry in form-layout (#8596)
hint: After resolving the conflicts, mark them with
hint: "git add/rm ", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

@vaadin-bot
Copy link
Collaborator

Hi @web-padawan and @web-padawan, when i performed cherry-pick to this commit to 24.5, i have encountered the following issue. Can you take a look and pick it manually?
Error Message:
Error: Command failed: git cherry-pick f047f75
error: could not apply f047f75... fix: use the most recent IntersectionObserver entry in form-layout (#8596)
hint: After resolving the conflicts, mark them with
hint: "git add/rm ", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FormLayouts randomly become invisible
3 participants