Background
Mobile tooltips are currently broken: tapping opens the tooltip very briefly before it closes, and press-and-hold keeps it open but triggers the browser's native text-selection gesture.
PR #566 (merged to staging, commit 082b5ce) attempted a mobile-only fix: toggling a controlled open state on touch pointerdown and calling preventDefault() to suppress the compatibility click that was re-closing it. This didn't fully resolve the tap behaviour, and doesn't address the text-selection issue at all — preventDefault() on pointerdown doesn't suppress the browser's native long-press-to-select/context-menu gesture; that needs touch-action / -webkit-touch-callout CSS, which the current fix doesn't touch.
Decision
Rather than patching the mobile-only hover/tap split further, unify the interaction model across mobile and desktop:
- Replace hover-to-open (desktop) and tap-to-open (mobile) with a single click/tap-to-toggle model on both platforms.
- Clicking or tapping anywhere else — including on elements with no tooltip of their own — dismisses any currently-open tooltip.
Acceptance Criteria
Notes
Supersedes the mobile-only approach in PR #566. Not blocking the current staging→main release.
Background
Mobile tooltips are currently broken: tapping opens the tooltip very briefly before it closes, and press-and-hold keeps it open but triggers the browser's native text-selection gesture.
PR #566 (merged to staging, commit 082b5ce) attempted a mobile-only fix: toggling a controlled
openstate on touchpointerdownand callingpreventDefault()to suppress the compatibility click that was re-closing it. This didn't fully resolve the tap behaviour, and doesn't address the text-selection issue at all —preventDefault()onpointerdowndoesn't suppress the browser's native long-press-to-select/context-menu gesture; that needstouch-action/-webkit-touch-calloutCSS, which the current fix doesn't touch.Decision
Rather than patching the mobile-only hover/tap split further, unify the interaction model across mobile and desktop:
Acceptance Criteria
Notes
Supersedes the mobile-only approach in PR #566. Not blocking the current staging→main release.