Skip to content

[iPad]: Enable tooltip on finger tap (not only Pencil hover)#4292

Merged
rorychatt merged 1 commit intodevelopmentfrom
4279-ipad-info-icon-tooltip-only-appears-with-apple-pencil-hover-not-tap
Apr 30, 2026
Merged

[iPad]: Enable tooltip on finger tap (not only Pencil hover)#4292
rorychatt merged 1 commit intodevelopmentfrom
4279-ipad-info-icon-tooltip-only-appears-with-apple-pencil-hover-not-tap

Conversation

@ArtemLazarchuk
Copy link
Copy Markdown
Collaborator

Summary

Wraps Radix Tooltip root with controlled/uncontrolled state and toggles the tooltip on touch and pen pointerdown, while keeping default mouse behavior (hover / focus).

What changed

  • Shim around TooltipPrimitive.Root supporting:
    • Controlled: open, onOpenChange
    • Uncontrolled: defaultOpen
  • TooltipContext exposing open / setOpen for the trigger.
  • TooltipTrigger on pointerdown: if pointerType is touch or pen, visibility toggles; mouse is unchanged (Radix hover/focus).

Why

Radix Tooltip is hover/focus-driven, so on coarse pointers (finger, stylus) tooltips often never show on iPad/iPhone. The extra touch/pen toggle fixes that without changing desktop UX.

2026-04-26.15.36.47.mov

@ArtemLazarchuk ArtemLazarchuk self-assigned this Apr 26, 2026
@rorychatt rorychatt merged commit 2cf83bb into development Apr 30, 2026
11 checks passed
@rorychatt rorychatt deleted the 4279-ipad-info-icon-tooltip-only-appears-with-apple-pencil-hover-not-tap branch April 30, 2026 14:52
@artem-ivy-ai
Copy link
Copy Markdown
Collaborator

Staging removed

Staging environment has been deleted for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iPad: Info icon tooltip only appears with Apple Pencil hover, not tap

3 participants