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
Text field in data table loses focus #1293
Comments
same shit. annoying af |
+1 - we're also seeing this issue |
While I'm looking into this, I can tell you it's more than likely not something the components are doing wrong. An easy way to test this would be to wrap your content in a tr and apply a key to it, as you can see here, it doesn't occur: https://jsfiddle.net/dqx8dg72/ I'll continue to look into this though. |
I love it when I'm wrong, found the issue, thank you for your patience! |
Steps to reproduce
Versions
Vue 2.3.4
Vuetify 0.14.8
macOS Sierra 10.12.6
Chrome 60
What is expected ?
That text fields in data tables can be edited, without them losing focus after every keypress.
What is actually happening ?
They are losing focus after every key press. It seems that the whole
items
-slot of the data table is re-rendered after every key press. I first thought this was caused by the text field using theprops
variable in itsv-model
(the first text field in the JSFiddle). I therefore tried to avoid using theprops
variable (second text field in the JSFiddle) or use a completely different variable for thev-model
of the text field (the last two text fields in the JSFiddle), but that also doesn't help.Reproduction Link
https://jsfiddle.net/okgbzo4s/1/
The text was updated successfully, but these errors were encountered: