Vuetify: [Bug Report] Cannot set property 'touched' of undefined

Created on 12 Feb 2019  Â·  7Comments  Â·  Source: vuetifyjs/vuetify

Versions and Environment

Vuetify: 1.5.1
Last working version: 1.5.0
Vue: 2.6.6
Browsers: Chrome 71.0.3578.98
OS: Windows 10

Steps to reproduce

Change route on btn click inside router-view

Expected Behavior

No error

Actual Behavior

Throws error "Uncaught TypeError: Cannot set property 'touched' of undefined"

Reproduction Link

https://codepen.io/tobiasdalhof/pen/qgKJdz

Most helpful comment

resolved with 0cd5671

All 7 comments

Same thing can be reproduced with the v-autocomplete component when clicking on one of the items in the generated list.

https://codepen.io/choko256/pen/WPyWyo

resolved with 0cd5671

Has this shipped? I see its merged but latest 1.5.1 appears to still have this issue (not sure when a merge makes it into a release for vuetify).

@iyerusad I was facing the same issue on 1.5.1, fixed it by the following

node_modules/vuetify/lib/directives/ripple.js

Search for 'rippleHide' function about line 150th line (First search)
add the conditional check for element._ripple

if (element._ripple) {
      element._ripple.touched = false;
}

Yes thats what https://github.com/vuetifyjs/vuetify/commit/0cd56717b0b4334c78e8e99dc7bad6b7dc479d0b achieves, and it has been merged in. I am wondering if it has made it into package release.

We are on the latest one, so I don't think so ¯_(ツ)_/¯

this was merged after 1.5.1 as it appeared in 1.5.1, you will see it in the next build.

We kindly ask users to not comment on closed/resolved issues. If you believe that this issue has not been correctly resolved, please create a new issue showing the regression or reach out to us in our Discord community.

Thank you for your contribution and interest in improving Vuetify.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

efootstep picture efootstep  Â·  3Comments

KuroThing picture KuroThing  Â·  3Comments

itanka9 picture itanka9  Â·  3Comments

gluons picture gluons  Â·  3Comments

ricardovanlaarhoven picture ricardovanlaarhoven  Â·  3Comments