Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Prefech & preload on touchstart events too #1231

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

rschristian
Copy link
Member

@rschristian rschristian commented Feb 7, 2025

Was playing with this the other day and found on iOS there's pretty reliably a 50-100ms gap in between the touchstart and click events -- not quite as good as mouseover obviously, and Android, from what I've seen, has less of a gap (I've seen lows of 20ms), but it shouldn't hurt to add.

Super simple demo

@rschristian rschristian merged commit 4cd7564 into master Feb 7, 2025
5 checks passed
@rschristian rschristian deleted the refactor/prefetch-touch-start branch February 7, 2025 11:02
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.

2 participants