We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8806e0 commit 926e37aCopy full SHA for 926e37a
src/recognizers/MoveRecognizer.ts
@@ -90,6 +90,7 @@ export default class MoveRecognizer extends CoordinatesRecognizer<'move'> {
90
91
onPointerLeave = (event: UseGestureEvent): void => {
92
this.controller.state.shared.hovering = false
93
+ if ('move' in this.controller.handlers) this.onMoveEnd()
94
95
if (this.controller.config.hover!.enabled) {
96
const { values } = getPointerEventValues(event)
@@ -104,8 +105,6 @@ export default class MoveRecognizer extends CoordinatesRecognizer<'move'> {
104
105
106
this.controller.handlers.hover!({ ...state, ...this.mapStateValues(state) })
107
}
-
108
- if ('move' in this.controller.handlers) this.onMoveEnd()
109
110
111
addBindings(): void {
0 commit comments