stevenbenner / jquery-powertip

:speech_balloon: A jQuery plugin that creates hover tooltips.
https://stevenbenner.github.io/jquery-powertip/
MIT License
821 stars 137 forks source link

in IOS tooltip prevent default click event #167

Closed aneeshsudhakaran closed 6 years ago

aneeshsudhakaran commented 6 years ago
<a class="swatchanchor instock tool-tip" href="http://devriation.com?pid=lola-check-dress-26786&amp;dwvar_lola-check-dress-26786_size=M&amp;dwvar_lola-check-dress-26786_color=Green%2fMulti&amp;source=pdp" data-placement="s">
<span>M</span>
</a>
$('.tool-tip').each(function( index ) {
                  var p =$(this).data('placement');
                  $(this).powerTip({ placement: p  , smartPlacement: true });  
            });

when i take this in IOS 7, its need double touch for get the link active.

Thanks in advance!

stevenbenner commented 6 years ago

I can't reproduce this issue on my Android device using Chrome or Firefox. Unfortunately I do not have an iOS device to test on at the moment.

The PowerTip code does not prevent event bubbling, so the expected behavior for a link on a tap would be to open the tooltip (because focus was received) and let the browser navigate to the link target.

Can you go to the PowerTip project page and see if you get the same behavior when tapping on any of the links in the footer at the very bottom of the page (e.g. the "MIT license" link)?

stevenbenner commented 6 years ago

I'm going to close this issue because there hasn't been a response for some time. Please reply back if you can do the test I requested or have more information and I'll reopen the issue.