diff --git a/front/src/components/About.vue b/front/src/components/About.vue index 36c66ae56..72355ef58 100644 --- a/front/src/components/About.vue +++ b/front/src/components/About.vue @@ -220,7 +220,11 @@ const headerStyle = computed(() => { -
+ +
{ if (!dragItem || !element.classList.contains('handle')) return // Touch devices stop emitting touch events while container is scrolled - isTouch.value = event instanceof TouchEvent + // NOTE: FF does not support TouchEvent constructor + isTouch.value = window.TouchEvent + ? event instanceof TouchEvent + : !(event instanceof MouseEvent) const ghost = dragItem.cloneNode(true) as HTMLElement ghost.classList.add('drag-ghost')