-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[Bug Report] v-list-item ripple effect gets triggered when you click on v-list-item-action #7988
[Bug Report] v-list-item ripple effect gets triggered when you click on v-list-item-action #7988
Comments
Not really sure how we can efficiently fix this. |
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>
|
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. If you have any additional questions, please reach out to us in our Discord community. |
Environment
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
Steps to reproduce
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
Expected Behavior
Ripple effect should only be on v-list-item-action
https://codepen.io/anon/pen/YmWWWb
Actual Behavior
Ripple effect is triggered for both v-list-item and v-list-item-action
Reproduction Link
https://codepen.io/anon/pen/EqyyyR
Other comments
This is a regression from 1.5.x. Not sure if it is a feature or bug.
The text was updated successfully, but these errors were encountered: