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

    Q-tooltip does not go away on mobile until you scroll

    Help
    1
    4
    979
    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.
    • ssuess
      ssuess last edited by

      q-tooltip should disappear when tapping anywhere outside of it, but on mobile (both cordova and safari) tapping will bring it up, but only scrolling will dismiss it. Tooltip should also dismiss when clicking anywhere outside of it (or even perhaps on it). Is there a workaround for this?

      1 Reply Last reply Reply Quote 0
      • ssuess
        ssuess last edited by

        Anyone have a solution for this? Is this a bug or am I doing something wrong?

        1 Reply Last reply Reply Quote 0
        • ssuess
          ssuess last edited by

          is it possible to set a timeout so it goes away on its own?

          1 Reply Last reply Reply Quote 0
          • ssuess
            ssuess last edited by

            hm, inside of quasar.esm.js I found this:

            close: function close () {
                  clearTimeout(this.timer);
                  if (this.opened) {
                    this.opened = false;
                    this.scrollTarget.removeEventListener('scroll', this.close);
                    window.removeEventListener('resize', this.__debouncedUpdatePosition);
                    document.body.removeChild(this.$el);
                    if (Platform.is.mobile) {
                      document.body.removeEventListener('click', this.close, true);
                    }
                  }
                }
            

            which would SEEM to indicate that it should be closing on mobile on a click, correct?

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