gitfut icon indicating copy to clipboard operation
gitfut copied to clipboard

Tooltips are inaccessible on touch devices (mobile/tablet)

Open sheikhwasimuddin opened this issue 4 months ago • 0 comments

What happened

Tooltips that rely only on :hover cannot be accessed on touch devices. As a result, important information such as Distribution details, Playstyle badges, and Language tier badges is unavailable to mobile and tablet users.

Steps to reproduce

  1. Open GitFut on a mobile phone or tablet.
  2. Navigate to any page containing tooltip-enabled elements (e.g. Distribution, Playstyle, or Language tier badges).
  3. Tap the element.

Expected

The tooltip should open when the user taps the element and close when tapping outside or tapping the element again. The same information available on desktop should also be accessible on touch devices.

Actual

Nothing happens when the element is tapped because the tooltip is only triggered by hover.

Card / screenshot

Affected components include:

  • Distribution tooltip
  • Playstyle badges
  • Language tier badge

Environment

  • Browser: Chrome (Mobile)
  • OS: Android

Resolved it in PR #73

sheikhwasimuddin avatar Jul 31 '26 14:07 sheikhwasimuddin