Skip to content

fix(network): finish pending view animation before starting a new one - #2546

Open
murrant wants to merge 1 commit into
visjs:masterfrom
murrant:fix-leaked-view-animation
Open

murrant wants to merge 1 commit into
visjs:masterfrom
murrant:fix-leaked-view-animation

Conversation

@murrant

@murrant murrant commented Oct 2, 2026

Copy link
Copy Markdown

Fix leaked animation listener when moveTo is called again before the previous animation renders its first frame, which locks the view.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@murrant

murrant commented Oct 5, 2026 •

Copy link
Copy Markdown
Author

FYI, I originally found this bug by dragging the map via touch while an animation is running. After doing that it locks up the map and I can no long pan or zoom.

This branch has not been deployed

No deployments
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.

1 participant