should prevent the long press gesture from firing on mobile if you scroll

This commit is contained in:
hshub 2024-04-16 23:40:35 +00:00
parent 9cb4ad654c
commit a08da434eb

View File

@ -89,6 +89,9 @@ export class listeners {
});
$("#messageHolder").on("scroll", e => {
this.longPress = 0;
clearTimeout(this.longPressTimer);
let messageHolder = $(e.target);
if (app.loadingMessages) {
return;