You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello~*
When the time value is decreased (0 or 10ms), the up event occurs once more after mouse down-up.
It seems that PressRecognizer did not call clearTimeout (this._timer).
seems need to change this one ->
if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {
this.reset();
} else if (input.eventType & INPUT_START) {
this.reset();
this._timer = setTimeoutContext(() => {
// Input.eventType is resolved to INPUT_END.
this.state = STATE_RECOGNIZED;
this.tryEmit();
}, options.time, this);
} else if (input.eventType & INPUT_END) {
this.reset(); // Where to fix
return STATE_RECOGNIZED;
}
hello~*
When the time value is decreased (0 or 10ms), the up event occurs once more after mouse down-up.
It seems that PressRecognizer did not call clearTimeout (this._timer).
seems need to change this one ->
if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {
this.reset();
} else if (input.eventType & INPUT_START) {
this.reset();
this._timer = setTimeoutContext(() => {
// Input.eventType is resolved to INPUT_END.
this.state = STATE_RECOGNIZED;
this.tryEmit();
}, options.time, this);
} else if (input.eventType & INPUT_END) {
this.reset(); // Where to fix
return STATE_RECOGNIZED;
}
https://hammerjs.slack.com/files/briller/F6B7DNM9P/-.js
The text was updated successfully, but these errors were encountered: