Repository navigation
[9.3-release] fix(core): remove the 300ms click delay when doubleClickZoom is off (#10384) - #10973
Merged
Merged
Conversation
…10384) Backport of the click-delay part of #10422 (merged into master via #10416) to 9.3-release, without the DoubleClickDrag recognizer. - The dblclick recognizer starts disabled, and Deck watches dblclick for picking, so only the controller's doubleClickZoom option enables it - Clone the view when the controller prop changes so runtime changes apply - Interaction tests; they read the protected eventManager field because Deck.getEventManager() isn't on 9.3
12 tasks done
[Medium impact] The PR appears safe to merge; no new actionable issues were found. SummaryRemoves the click delay when
Reviews (4) · Last reviewed commit: "test(core): keep the frozen views array ..." · Reviewed by Greptile |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 05cdf8c. Configure here.
Cloning the first view wrote into the caller's views array, which throws when the array is frozen.
Collaborator
Author
|
@greptile-apps re-review |
This was referenced Oct 30, 2026
Collaborator
Author
|
Released in deck.gl 9.3.12. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Backport of #10422 for #10384. Part of #10811.
Background
9.3.4 added a ~300ms delay to every click (#10384). The fix reached
masterinside #10416, which also adds DoubleClickDrag and conflicts on 9.3. This ports only the click-delay part. mjolnir.js stays at 3.0.Change List
constants.ts:dblclickrecognizer starts disableddeck.ts: watchdblclickfor picking, so picking alone doesn't enable itdeck.ts: clone the view when thecontrollerprop changes, so runtime changes applydeck.ts: copy theviewsarray first, so the caller's array isn't modifiedviewsarray with thecontrollerpropeventManagerdirectly; 9.3 has nogetEventManager())doubleClickZoomclick latencytest/interaction/map-controller.spec.tspasses 13/13 in--project browser --browser.headless. Two of the new tests fail without the fix.🤖 Generated with Claude Code