bulma-tooltip icon indicating copy to clipboard operation
bulma-tooltip copied to clipboard

Touch devices

Open riad-uk opened this issue 6 years ago • 2 comments

Seems the tooltip does not work for mobile/touch devices.

riad-uk avatar Jun 26 '18 11:06 riad-uk

It works for touch devices. Just try the demo on your device. However, there is a quirk for the mobile Safari. The tooltip won't open on click by default on span / div elements, only on buttons. The solution is to put an empty onlick event on the element.

<span class="tooltip" data-tooltip="whatever" onclick="">My Tooltip</span>

See this SO answer

json-derulo avatar Jan 17 '19 09:01 json-derulo

found another issue with touch devices. using the onclick="" trick they work but if you click out the tooltip doesn't dissapear. this happens even in the demo version here: https://github.com/Wikiki/bulma-tooltip using iphone X and iphone XR.

enparticular avatar Jun 13 '19 18:06 enparticular