Vuetify Version: 2.2.4
Vue Version: 2.6.10
Browsers: Chrome 79.0.3945.130
OS: Windows 10
Open the Link.
Click on "Open Dialog".
and then try to focus on any input field (the default one and the v-text-field
).
The fields should be focused.
The fields don't get focus, but the first button in the v-dialog
gets focus.
https://codepen.io/inyourface/pen/yLyrWxw
I am using v-dialog and the problem I am facing is that whenever I try to focus any input field whether it's a default input
or v-text-field
, the first button in the v-dialog gets focus.
and if you try to remove the buttons the fields will be focused.
Might be this https://github.com/vuetifyjs/vuetify/issues/8845#event-2987171751
Duplicate of #8845
@johnleider can you please explain why my issue is being closed? Have you seen the codepen? I don't have any auto-focus on the inputs. The issue you mentioned is for input field in the dialog, my issue is all about outside the v-dialog
.
It might be duplicate of https://github.com/vuetifyjs/vuetify/issues/8640 tho
Duplicate of #8640
Workaround: https://codepen.io/jkarczm/pen/zYxQKMJ
Most helpful comment
Duplicate of #8640
Workaround: https://codepen.io/jkarczm/pen/zYxQKMJ