Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Trigger :hover event on mobile #5

Open
humitos opened this issue Aug 17, 2019 · 0 comments
Open

Trigger :hover event on mobile #5

humitos opened this issue Aug 17, 2019 · 0 comments
Labels
Improvement Minor improvement to code

Comments

@humitos
Copy link
Member

humitos commented Aug 17, 2019

Triggering the :hover event on Mobile is not well supported and it's not recommended. So, in case we want to support this we need to find a different approach.

One idea that I got from Twitter was to detect that the reader is on mobile and if so, add a small icon that when you click it, it triggers the event and shows the tooltip.

I'm not sure if it worth the implementation effort since mobile is not widely used to read documentation but also because the tooltip will be too small probably and hard to read its content. Some experimenting could help to make a better decision here.

@humitos humitos added the Improvement Minor improvement to code label Aug 17, 2019
@humitos humitos changed the title :hover does not work on mobile Trigger :hover event on mobile Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Improvement Minor improvement to code
Projects
None yet
Development

No branches or pull requests

1 participant