vuetify
vuetify copied to clipboard
[Bug Report][3.1.12] Vimg inside VBtn does not render
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
It works as expected if I replace max-height and max-width with height and width respectively. I updated the reproduction here
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.