vuetify icon indicating copy to clipboard operation
vuetify copied to clipboard

[Bug Report][3.1.12] Vimg inside VBtn does not render

Open JChrist opened this issue 2 years ago • 2 comments

Environment

Vuetify Version: 3.1.12 Last working version: 2.6.14 Vue Version: 3.2.47 Browsers: Edge 111.0.1661.54 OS: Windows 10

Steps to reproduce

Adding a v-img element inside a v-btn (either in the default slot, or in the prepend slot) does not render anything.

Expected Behavior

Expected v-img to be rendered and visible

Actual Behavior

v-img is not rendered

Reproduction Link

https://play.vuetifyjs.com/#...

JChrist avatar Mar 29 '23 17:03 JChrist

It works as expected if I replace max-height and max-width with height and width respectively. I updated the reproduction here

JChrist avatar Mar 30 '23 06:03 JChrist

There isn't really a problem rendering an image component in that slot. The image dimension props as you mention are defnitely affecting how its rendered.

reproduction

santiagoaloi avatar Mar 31 '23 08:03 santiagoaloi