Skip to content

Fix scroll offset drift on viewport resize#224

Merged
texodus merged 2 commits intomasterfrom
scroll-offset-drift
Feb 9, 2025
Merged

Fix scroll offset drift on viewport resize#224
texodus merged 2 commits intomasterfrom
scroll-offset-drift

Conversation

@texodus
Copy link
Member

@texodus texodus commented Feb 9, 2025

  • Fixes a miscalculation in scroll height relative to viewport size, which caused scroll position to drift if the container size changed.
  • Adds removeStyleListener method
  • Updates build deps

@texodus texodus force-pushed the scroll-offset-drift branch 16 times, most recently from 5bbe16c to ea8327e Compare February 9, 2025 19:02
@texodus texodus force-pushed the scroll-offset-drift branch from ea8327e to 3f5fcbb Compare February 9, 2025 19:38
@texodus texodus added the bug Concrete, reproducible bugs label Feb 9, 2025
@texodus texodus marked this pull request as ready for review February 9, 2025 19:50
@texodus texodus merged commit 2c1e5b0 into master Feb 9, 2025
3 checks passed
@texodus texodus deleted the scroll-offset-drift branch February 9, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Concrete, reproducible bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant