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

Input loses focus on failed submit #3786

Open
ivanmaxlogiudice opened this issue Apr 3, 2025 · 0 comments · May be fixed by #3796
Open

Input loses focus on failed submit #3786

ivanmaxlogiudice opened this issue Apr 3, 2025 · 0 comments · May be fixed by #3796
Labels
bug Something isn't working triage v3 #1289

Comments

@ivanmaxlogiudice
Copy link
Contributor

ivanmaxlogiudice commented Apr 3, 2025

Environment

  • Operating System: Windows_NT
  • Node Version: v23.9.0
  • Nuxt Version: -
  • CLI Version: 3.24.0
  • Nitro Version: -
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.0.2

Reproduction

Grabacion.de.pantalla.2025-04-03.121717.mp4

Description

The input loses focus when submitting the form with errors, it should not lose it, like the v2 version.

Update: Its caused by race condition with the loading state that disables the input, causing it to lose focus.

Additional context

No response

Logs

@ivanmaxlogiudice ivanmaxlogiudice added bug Something isn't working triage v3 #1289 labels Apr 3, 2025
@ivanmaxlogiudice ivanmaxlogiudice linked a pull request Apr 4, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage v3 #1289
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant