Vuetify Version: 2.0.0
Last working version: 1.5.16
Vue Version: 2.6.10
Browsers: Mozilla Firefox, Google Chrome
OS: Windows, Mac OSX
Click v-list-item-action on the demos linked below
1.5.16 - https://codepen.io/anon/pen/YmWWWb
2.0 - https://codepen.io/anon/pen/EqyyyR
Ripple effect should only be on v-list-item-action
https://codepen.io/anon/pen/YmWWWb
Ripple effect is triggered for both v-list-item and v-list-item-action
https://codepen.io/anon/pen/EqyyyR
This is a regression from 1.5.x. Not sure if it is a feature or bug.
Not really sure how we can efficiently fix this. v-list-item
supports ripple now by default. If the same would have been the case for v1.5, it would have been experienced there as well.
For anyone looking for a workaround, I fixed this issue by stopping the propagation of the mousedown and touchstart event inside the action:
<v-list-item :to="someRoute">
<v-list-item-content>
<v-list-item-title>Title</v-list-item-title>
</v-list-item-content>
<v-list-item-action>
<v-btn icon @click.prevent="delete" @mousedown.stop @touchstart.native.stop>
<v-icon>delete</v-icon>
</v-btn>
</v-list-item-action>
</v-list-item>
@click.prevent
prevents the v-list-item
from routing to someRoute
when clicking on the button inside the action.
Most helpful comment
For anyone looking for a workaround, I fixed this issue by stopping the propagation of the mousedown and touchstart event inside the action:
@click.prevent
prevents thev-list-item
from routing tosomeRoute
when clicking on the button inside the action.