Les info-bulles ne s'affichent pas sur les appareils avec écran tactile

The plugin seems to be pretty straightforward: install, activate.

I’ve done both, result:

But there are no tooltips shown :frowning:
Not when I’m logged in, not with private browser window and not logged in.
Any idea on how I could debug this?

Maybe my expectation is completely wrong… is this plugin enabled on meta? Because I also don’t see tooltips here as I would expect them with the plugin enabled.

1 « J'aime »

Are you testing on a touchscreen laptop? I suggest testing on a Mac to rule out touchscreen interference.

2 « J'aime »

I didn’t want to buy a Mac only to test this :wink:
But indeed the tooltip appears on a laptop without touchscreen (not on meta though).
It isn’t working on a secondary non-touch display connected to a laptop with touchscreen.

At least some user will profit from the tooltips.

Is the touchscreen issue considered a bug?

1 « J'aime »

hover does work fine on machines that don’t have touchscreens. You get hover with a mouse or touchpad pointer, for example, here is me hovering over the share button:

image

But for the laptops that have touchscreen and mouse/touchpad… I’m not sure there is a way to detect when the mouse is unplugged versus plugged in.

I don’t know if there’s any way to fix this through CSS4 media detection:

But it would be nice to be able to fix this for devices that show up as both touchscreen and mouse – to allow hover for them. Users have resorted to disabling the touchscreen on their laptop to get it to work, probably because they never use the touchscreen part anyway.

I tested this … Edit fiddle - JSFiddle - Code Playground and got

  • desktop :red_circle: mouse
  • iphone :green_circle: touch
  • surface pro :red_circle: mouse ← wrong!

I also tested Checking device hover capabilities with JavaScript using interaction media features - JSFiddle - Code Playground and same results – the touchscreen + mouse device looks identical to the desktop.

2 « J'aime »

J’ai juste fusionné un correctif pour cela, donc les survolés du plugin tooltips s’afficheront désormais sur les appareils à écran tactile (comme les Chromebooks, les Surfaces) si vous naviguez à la souris. (Ils ne s’afficheront pas si vous naviguez à l’écran tactile.)

Si vous hébergez vous-même le site, assurez-vous de le reconstruire pour récupérer le récent changement de plugin.

3 « J'aime »