calebjacob / tooltipster

A jQuery tooltip plugin
MIT License
2.76k stars 482 forks source link

Mobile devices - tool tip only shows with a double click and quickly closes #811

Closed erikaele closed 3 years ago

erikaele commented 3 years ago

I need to use tooltipster for showing tips on mobile devices. I upgraded to your latest version from http://calebjacob.github.io/tooltipster as of 10/22/2020.

I removed all of my custom options and it still doesn't work. I opened on mac chrome developer tools and saw the issue, was hoping it was just an issue with the debugger, but when I moved to our dev environment and viewed on my Motorola droid, I'm seeing the same behaviour.

Can you look here and give some advise?
https://www.dev-finegardening.com/garden-catalog-collector

network prompt - un: taunton pwd: press

we are using jquery 2.2.4

louisameline commented 3 years ago

How does your browser react when trying the examples on our documentation page?

erikaele commented 3 years ago

Hi!

Thanks for getting back to me!

The examples are fine on the documentation page. I changed the version of Jquery we’re using on our the page (in developer window) to test and the issue resolves. It looks like there is an issue with the version of Jquery we’re using…. 2.2.4

Were you able to replicate on the site I provided?

Another thing I noticed, which I was just going to ignore, on my site and your documentation site, when you click to close the tip, you can’t reopen it until you’ve clicked to view another tip. This only happens when the action is set to hover on devices that don’t support hover.

Best, Erika Ericson

erikaele commented 3 years ago

Hi,

I don’t actually know if this issue is resolved by changing the Jquery version… updating the version number in the developer tools window doesn’t actually change the jquery….. Doing too much at once and wasn’t thinking.

louisameline commented 3 years ago

I don't try too hard on your website as I don't know how it's configured anyway. More interested in something I can reproduce in our examples. I see no issues but I'll try with 2.2.4 when I have a little time, but I don't know when.

erikaele commented 3 years ago

Looking at your site more closely, I am seeing the same issues. Not with ALL the options but a lot of them.

From: Louis Ameline notifications@github.com<mailto:notifications@github.com> Reply-To: calebjacob/tooltipster reply@reply.github.com<mailto:reply@reply.github.com> Date: Thursday, October 22, 2020 at 11:25 AM To: calebjacob/tooltipster tooltipster@noreply.github.com<mailto:tooltipster@noreply.github.com> Cc: tp-local eericson@taunton.com<mailto:eericson@taunton.com>, Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [calebjacob/tooltipster] Mobile devices - tool tip only shows with a double click and quickly closes (#811)

I don't try too hard on your website as I don't know how it's configured anyway. More interested in something I can reproduce in our examples. I see no issues but I'll try with 2.2.4 when I have a little time, but I don't know when.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/calebjacob/tooltipster/issues/811#issuecomment-714571429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQYUI4ZZGC7NB6HPAEZTSNLSMBFGDANCNFSM4S3HNXDQ.

erikaele commented 3 years ago

I see my mistake… on hover-less screens, the replication event is to press and hold…. This doesn’t work if the item triggering the tip is an image, but I’ve detected touch screens with jQuery and change the trigger to click instead of hover.

Thank you for your quick response… I do like the plugin and am glad that it has so many customization options.

Erika

From: Louis Ameline notifications@github.com<mailto:notifications@github.com> Reply-To: calebjacob/tooltipster reply@reply.github.com<mailto:reply@reply.github.com> Date: Thursday, October 22, 2020 at 11:25 AM To: calebjacob/tooltipster tooltipster@noreply.github.com<mailto:tooltipster@noreply.github.com> Cc: tp-local eericson@taunton.com<mailto:eericson@taunton.com>, Author author@noreply.github.com<mailto:author@noreply.github.com> Subject: Re: [calebjacob/tooltipster] Mobile devices - tool tip only shows with a double click and quickly closes (#811)

I don't try too hard on your website as I don't know how it's configured anyway. More interested in something I can reproduce in our examples. I see no issues but I'll try with 2.2.4 when I have a little time, but I don't know when.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/calebjacob/tooltipster/issues/811#issuecomment-714571429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQYUI4ZZGC7NB6HPAEZTSNLSMBFGDANCNFSM4S3HNXDQ.

louisameline commented 3 years ago

Great, have a nice day!