Skip to content

Conversation

J-Michalek
Copy link
Contributor

πŸ”— Linked issue

Resolves: #5102

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

We only need to call preventDefault on space key to prevent the page from scrolling to the focused element, before we were prevent default on all keydown events which made tabbing through the FileUpload component impossible.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

We only need to call preventDefault on space key
to prevent the page from scrolling to the element.
@github-actions github-actions bot added the v4 #4488 label Oct 2, 2025
Copy link

pkg-pr-new bot commented Oct 2, 2025

npm i https://pkg.pr.new/@nuxt/ui@5128

commit: 5b82b79

@benjamincanac benjamincanac merged commit 2477d44 into nuxt:v4 Oct 3, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4 #4488
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FileUpload component captures focus and disables tab navigation
2 participants