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

feat(Input/Textarea): allow specifying autofocus delay for page transitions #816

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

acidjazz
Copy link
Contributor

@acidjazz acidjazz commented Oct 14, 2023

πŸ”— Linked issue

Resolves #815

❓ 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

A prop autofocusDelay that defaults to 100, this allows us to customize the setTimeout of focus() in the case we have page transitions

πŸ“ Checklist

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

@vercel
Copy link

vercel bot commented Oct 14, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
ui βœ… Ready (Inspect) Visit Preview Oct 14, 2023 4:13am

@benjamincanac benjamincanac changed the title β™Ώ allow specifying custom autofocus for page transitions feat(Input/Textarea): allow specifying autofocus delay for page transitions Oct 14, 2023
@benjamincanac benjamincanac merged commit 8bfd359 into nuxt:dev Oct 14, 2023
1 check passed
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.

Ability to delay the autofocus longer to accommodate page transitions
2 participants