Explain prevention of mouse mode by touch
This commit is contained in:
parent
3c2bec8916
commit
af116f4cfb
1 changed files with 1 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ export default class UI {
|
|||
}
|
||||
|
||||
#handleTouchend(event) {
|
||||
// HACK: event.preventDefault doesn't reliably stop click events in Firefox (112)
|
||||
this.#ignoreClickUntilTimeStamp = event.timeStamp + IGNORE_CLICK_AFTER_TOUCH_DURATION;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue