No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Images interfere with Touch Swipe

    Help
    1
    2
    155
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PS last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • P
        PS last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post