Skip to content

fix: Defer hotkey registration to prevent iOS Safari race condition#713

Open
sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/defer-hotkey-registration
Open

fix: Defer hotkey registration to prevent iOS Safari race condition#713
sentry[bot] wants to merge 1 commit intomainfrom
seer/fix/defer-hotkey-registration

Conversation

@sentry
Copy link
Contributor

@sentry sentry bot commented Feb 13, 2026

Fixes TANSTACK-COM-1ZW. The issue was that: Lazy-loaded hotkeys hook on iOS Safari accesses null container's ownerDocument due to hydration timing, causing TypeError.

  • Moved useHotkey registration into a useEffect hook.
  • This defers hotkey registration until after component mount.
  • Addresses an iOS Safari race condition that occurs with lazy-loaded components in Suspense.

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

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

@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for tanstack ready!

Name Link
🔨 Latest commit 5eebe7f
🔍 Latest deploy log https://app.netlify.com/projects/tanstack/deploys/698f64617da17e0008eb6dfd
😎 Deploy Preview https://deploy-preview-713--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: 29 (🟢 up 2 from production)
Accessibility: 90 (no change from production)
Best Practices: 75 (🔴 down 8 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