How to allow tooltip in Desktop view but not in mobile view? #1061
-
Hi all, I am trying to build my first portfolio website and am trying to integrate tippy.js into it. Below is an extract of what I've currently built (not complete yet). I've noticed in Desktop, it's working as I intended. But in mobile, the tooltips are appearing. Is there a way to disable this functionality without writing my own javascript code to override the existing behaviour in mobile? Hope someone can help as I'm new to using this library. Thanks!
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Edilo-Stevens, to disable tooltip in mobile view, simply do:
Reference: https://atomiks.github.io/tippyjs/v6/all-props/#touch |
Beta Was this translation helpful? Give feedback.
Hi @Edilo-Stevens, to disable tooltip in mobile view, simply do:
Reference: https://atomiks.github.io/tippyjs/v6/all-props/#touch