Skip to content

[Bug Report][3.8.9] Page freezes when VTextField with autofocus appears immediately with VDialog #21716

@treardon17

Description

@treardon17

Environment

Vuetify Version: 3.9.0
Last working version: 3.8.8
Vue Version: 3.5.17
Browsers: Chrome 138.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

Click the "Click to freeze page" button in the reproduction link. The page will freeze in a loop with the text field and button fighting for focus. The tabindex is explicitly set in that example, but it also will freeze if it's not set -- it looks like the tabindex is set automatically.

Expected Behavior

Page won't freeze

Actual Behavior

Page freezes

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Related: #21626

When there's a combination of VTextField (with autofocus), VDialog, and VBtn, the page will freeze. This didn't used to be an issue -- it works on Vuetify 3.8.8.

Metadata

Metadata

Assignees

Labels

C: VTextFieldP: highThe issue is of high importanceT: bugFunctionality that does not work as intended/expectedT: regressionSomething that used to work but we broke

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions