Images interfere with Touch Swipe
-
I have implemented Touch Swipe on a q-page element, which works fine. However, if the element contains an image, then swiping doesn’t work if the movement starts on the image; when using a mouse, the image is dragged instead. If I use
@dragstart.prevent
on the image, the dragging stops, but swiping still doesn’t work.Any ideas?
-
Stupid me. The doc explicitly says:
If your content also has images, you might want to add draggable=“false” to them, otherwise the native browser behavior might interfere in a negative way.