Skip to content

Conversation

pascalbaljet
Copy link
Member

The keydown event handler shouldn't call shouldIntercept(), because that's meant for mouse events.

This was originally planned in PR #2549, but I decided to split it up into multiple PRs for clarity.

@pascalbaljet pascalbaljet marked this pull request as ready for review October 16, 2025 10:42
@pascalbaljet
Copy link
Member Author

For reference, this is tested in prefetch.spec.ts:

  • can prefetch using link props
  • can prefetch using link props with keyboard events

@pascalbaljet pascalbaljet merged commit 521c0c2 into master Oct 16, 2025
12 checks passed
@pascalbaljet pascalbaljet deleted the fix-link-events branch October 16, 2025 10:46
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.

1 participant