Skip to content

Commit bdc1d1f

Browse files
authored
Fix: drag below threshold left dragging state on (#527)
1 parent 4fde5dc commit bdc1d1f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/handlers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ export function mouseUp(chart, event) {
106106
state.dragStart = state.dragEnd = null;
107107

108108
if (distance <= threshold) {
109+
state.dragging = false;
110+
chart.update('none');
109111
return;
110112
}
111113

0 commit comments

Comments
 (0)