atomiks / tippyjs

Tooltip, popover, dropdown, and menu library
https://atomiks.github.io/tippyjs/
MIT License
11.93k stars 520 forks source link

Tooltips get triggered by accident on mobile #834

Closed Trunksome closed 3 years ago

Trunksome commented 4 years ago

Hey there,

I use "touch={["hold", 500]}" to make sure showing the tippy requires a long press on touch devices. This is the behaviour I want, there is one problem though: while scrolling, the tooltip often gets triggered just because the user scrolls above a certain button. This is quite confusing and does not look good.

What I would like to do is "cancel" the 500ms hold behaviour if the user scrolls (at all, or maybe with a minimal threshold). Is there any way for me to achieve that?

Thanks in advance! Loving the library by the way. 👍

atomiks commented 4 years ago

Probably a bug, a video screencast would help!