🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    in UIflow with Atom Matrix, Button longPress executed after wasPressed

    General
    1
    1
    2.6k
    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.
    • B
      braddo
      last edited by

      I have two different button events, a wasPressed and a longPressed. I'm finding that the long press actions happen after the regular press. This is unexpected... Long press is a distinct action that should be taken care by the button handler.

      BTW also have noticed one cannot get a long press action to happen without first triggering the regular press actions. Also not expected and bad.

      Also would like to know if the duration of long press and double click are editable somehow? Double click is too short, I would guess less than 200ms

      Thanks!

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