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

    Qtooltip toggle method is not working

    Framework
    2
    3
    947
    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.
    • F
      frederico last edited by

      Tooltip toggle method is not working, and after opening a tootip and doing a scroll on the page the tooltip does not close via scrol just by click outside it

      I’m doing something wrong?

          <q-btn @click="$refs.tooltip.toogle()" class="primary">
            Email
            <!-- Direct child of target -->
            <q-tooltip ref="tooltip">
              <!--
                The DOM element(s) that make up the tooltip,
                in this case a simple text:
              -->
              Some text as content of Tooltip
            </q-tooltip>
          </q-btn>
      1 Reply Last reply Reply Quote 0
      • rstoenescu
        rstoenescu Admin last edited by

        What you seem to want is to use the QPopover instead of QTooltip.

        F 1 Reply Last reply Reply Quote 0
        • F
          frederico @rstoenescu last edited by

          @rstoenescu In the documentation of the tooltip we have 3 methods open, close and toogle, could I pass an example that how to use, because of all the ways I try I can not always get an error and returned, another problem I found that both the tooptip and the popover when open And generate scroll on the page the same does not close is still open, would this be a bug? Being that it only closes with click, but with scroll the same is still open.

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