You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to show a tooltip and only close it after a user has interacted with the element it is supposed to give a hint on. For this, I use the v-tooltip directive on an <input>-element with trigger: 'manual' and controll it via a variable in the data of a Vue-Instance. click- and focus-handlers in the <input>-element trigger a function that hides the tooltip. This is a short version of the code:
This works on desktop-browsers but on a phone (and in the device emulator in Chrome), the tooltip closes as soon as any touch event happens on the page. Is this intentional and if so, can I somehow circumvent this?
The text was updated successfully, but these errors were encountered:
Here is a jsFiddle that reproduces the bug/unexpected behavior: https://jsfiddle.net/sebastiankienzl/g4mo2cv9/
I want to show a tooltip and only close it after a user has interacted with the element it is supposed to give a hint on. For this, I use the v-tooltip directive on an
<input>
-element withtrigger: 'manual'
and controll it via a variable in thedata
of a Vue-Instance.click
- andfocus
-handlers in the<input>
-element trigger a function that hides the tooltip. This is a short version of the code:Template
JS
This works on desktop-browsers but on a phone (and in the device emulator in Chrome), the tooltip closes as soon as any touch event happens on the page. Is this intentional and if so, can I somehow circumvent this?
The text was updated successfully, but these errors were encountered: