vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report][3.0.0] No `v-list-item--link` if there is only `@click` on `VListItem`

Open 0140454 opened this issue 2 years ago • 2 comments

Environment

Vuetify Version: 3.0.0 Last working version: 3.0.0-beta.15 Vue Version: 3.2.41 Browsers: Chrome 107.0.0.0 OS: Linux x86_64

Steps to reproduce

Add @click on VListItem

Expected Behavior

There is v-list-item--link class to make cursor be pointer

Actual Behavior

No v-list-item--link on VListItem

Reproduction Link

https://codepen.io/0140454/pen/mdxePOw?editors=1010

0140454 avatar Nov 01 '22 16:11 0140454

Confirmed! In 3.0.0-beta.15 it was okey Added link prop as a workaround

pavloniym avatar Nov 01 '22 21:11 pavloniym

Confirmed too And item on-hover does not highlight the background if @click and no link

flahol avatar Nov 01 '22 23:11 flahol

same here, discovered the bug to my own yesterday.

A workaround is to set a fake :value property to get the element appear clickable (cursor: pointer)

stratdev3 avatar Nov 07 '22 10:11 stratdev3

pr here #16038

NoraH1to avatar Nov 07 '22 11:11 NoraH1to