Skip to content

fix(template): properly calc sizes when resizeobserver adjust viewport #1759

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

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

hoebbelsB
Copy link
Member

thx to @FelixMuehling who noticed a nasty race condition in the resize observer implementation. Looks like the re-adjusting of the viewport based on the resizeObserver was sometimes using improper size values - causing views to get positioned out of order.

fixes #1746

@github-actions github-actions bot added </> Template @rx-angular/template related 🔬 Experimental Experimental: Feature, docs, demos labels Aug 28, 2024
Copy link

nx-cloud bot commented Aug 28, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 2bc1eed. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 7 targets

Sent with 💌 from NxCloud.

@hoebbelsB hoebbelsB requested a review from eneajaho August 28, 2024 11:37
@hoebbelsB hoebbelsB merged commit b74fafc into main Sep 4, 2024
11 checks passed
@hoebbelsB hoebbelsB deleted the fix-autosize-glitch branch September 4, 2024 20:50
rozpuszczalny pushed a commit to rozpuszczalny/rx-angular that referenced this pull request Sep 24, 2024
rx-angular#1759)

fix(template): virtual-scroll: calc sizes on resizeobserver changes. fixes rx-angular#1746
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔬 Experimental Experimental: Feature, docs, demos </> Template @rx-angular/template related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Virtual scroll: positioning issues when the input array updates while virtual scroll is rendering
1 participant