Skip to content

feat(tooltip): disable on touch devices#737

Open
sentry[bot] wants to merge 1 commit intomainfrom
seer/feat/tooltip-touch-device
Open

feat(tooltip): disable on touch devices#737
sentry[bot] wants to merge 1 commit intomainfrom
seer/feat/tooltip-touch-device

Conversation

@sentry
Copy link
Contributor

@sentry sentry bot commented Feb 28, 2026

Fixes TANSTACK-COM-27M. The issue was that: @radix-ui/react-tooltip's getContainer() returns null on iOS Safari, causing getBoundingClientRect() to fail.

  • Added a useIsTouchDevice hook to detect if the current device is touch-enabled.
  • Modified the Tooltip component to prevent it from rendering its tooltip content on touch devices, improving user experience.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 10933392

Not quite right? Click here to continue debugging with Seer.

@netlify
Copy link

netlify bot commented Feb 28, 2026

Deploy Preview for tanstack ready!

Name Link
🔨 Latest commit 68997f9
🔍 Latest deploy log https://app.netlify.com/projects/tanstack/deploys/69a2cbb7298a680008157a88
😎 Deploy Preview https://deploy-preview-737--tanstack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 26 (🟢 up 3 from production)
Accessibility: 90 (no change from production)
Best Practices: 75 (no change from production)
SEO: 97 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

0 participants