Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Unsolved Drawer: how to avoid drawer snapping back when you swipe to try to close it

    QML and Qt Quick
    1
    1
    184
    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.
    • Diracsbracket
      Diracsbracket last edited by Diracsbracket

      Hi
      When I want to close a Drawer by swiping it back, many times, it just snaps back to its fully open position.

      Apparently, to make sure to close it, the Drawer must be dragged over a sufficiently long distance: there seems to be a threshold.

      I know about startDragDistance and startDragTime but these don't seem to have any effect on the closing gesture.

      Any ideas?
      Thanks!

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