Skip to content

Fix/zoom jump#87

Merged
vade merged 2 commits intomainfrom
fix/zoom-jump
Nov 16, 2025
Merged

Fix/zoom jump#87
vade merged 2 commits intomainfrom
fix/zoom-jump

Conversation

@vade
Copy link
Copy Markdown
Contributor

@vade vade commented Nov 16, 2025

Builds off of @JustinMeans fixes for zoom with some minor modifications

  • remove task, replace with onAppear for synchronous access on main thread avoiding possible data races to underlying models
  • fix Modifying state during view update, this will cause undefined behavior. by setting state in appropriate closure locations outside of view updtes
  • fix anchor location calc by reprojecting the startAnchor values to scrollview extends appropriately.

JustinMeans and others added 2 commits November 15, 2025 22:25
Addresses feedback from #83 regarding zoom stutter caused by @Environment
observation cascades. Marks Graph drag preview properties as @ObservationIgnored
to prevent view recalculation during gestures. Calculates zoom anchor from
current scroll position instead of gesture location to eliminate jumps between
magnification gestures.

Related: #83, #66
…d behavior.` and for wobbly anchor values causing issues post zoom with scroll .
@vade vade merged commit 8bde41c into main Nov 16, 2025
@vade vade deleted the fix/zoom-jump branch November 16, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants