Skip to content

Conversation

@felixpalmer
Copy link
Collaborator

Closes #9845, fixing regression introduced by #9769

Change List

  • Manually reset state for smooth=false case
  • Test

@felixpalmer felixpalmer requested a review from ibgreen December 9, 2025 16:21
@coveralls
Copy link

coveralls commented Dec 9, 2025

Coverage Status

coverage: 91.089% (+0.001%) from 91.088%
when pulling 153bc3b on felix/isZooming-false
into accc5d9 on master.

@DedaDev
Copy link

DedaDev commented Jan 10, 2026

please merge this, also isRotating is missing

// When there's no transition (duration = 0), immediately reset interaction state
// since _onTransitionEnd callback won't fire
if (!smooth) {
this._setInteractionState({isZooming: false, isPanning: false});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason not to reset all 5 states?

@Pessimistress Pessimistress merged commit feb0440 into master Jan 11, 2026
3 checks passed
@Pessimistress Pessimistress deleted the felix/isZooming-false branch January 11, 2026 23:46
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.

[Bug] onInteractionStateChange no longer sets isZooming to false after zooming

6 participants