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

    Tapping QBtn on mobile does not trigger @click event but gets QInputs/QSelects focused or nothing at all.

    Help
    2
    3
    273
    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.
    • M
      mas last edited by mas

      I have multiple forms with QInputs and QBtn elements which either submit a form or do something else. I can emit the @click event with QBtn only on the second tap. The first tap sets the focus on a QInput, a QSelect or does nothing at all.

      I’ve been unable to sort it out so far and my only guess that something goes amiss with element positioning and coordinates when the keyboard panel at the bottom of the screen appears/disappears. So by tapping the button I actually tap on another element. I couldn’t track the precise pattern but the issue seems to persist if after page load and before I tap on QBtn I touch at least one input field thus making the the keyboard panel appear.

      Tested on Android devices by accessing my site hosted on my laptop’s localhost.

      Any ideas much appreciated, thank you!

      metalsadman 1 Reply Last reply Reply Quote 0
      • metalsadman
        metalsadman @mas last edited by

        @mas you should provide a reproduction codepen.

        M 1 Reply Last reply Reply Quote 0
        • M
          mas @metalsadman last edited by

          @metalsadman,

          https://codepen.io/Solarwake/pen/NWGPLQx

          Type in an input field and hit SAVE_CHANGES at the bottom. A green Success banner appears if a click occurs. On mobile, Androids.

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