[Bug Report] v-img can change the dimensions of its parent even if v-img is not explicitly set to do so.
Environment
Vuetify Version: 2.0.3 Last working version: 1.5.16 Vue Version: 2.6.10 Browsers: Chrome 75.0.3770.142 OS: Mac OS 10.14.6
Steps to reproduce
Visit codepen. Observe placement and sizing of image.
Expected Behavior
Image should not exceed the size of its parent elements or affect the dimensions of it's parent elements unless it has dimension type properties set on it (width, height, min-width, min-height, max-width, max-height) So if I specify that a v-image can be no taller than 60px, it shouldn't try to become wider than its parent.
Actual Behavior
I can't be sure but it seems that v-img is doing something wrong with how it gives itself a width. It should just try to fill the parent, but it's not doing this very well, it's breaking layouts.
Reproduction Link
https://codepen.io/MatthewAry/pen/dxzoYg
Other comments
I know this worked in Vuetify 1.5. But I'm not sure if it worked in any of the 2.0 betas. I can't be sure if this issue is caused by the ~~new~~ old grid system or v-img. But I think it is v-img because it's giving itself a width.
i can get it to work with the new grid system:
https://codepen.io/slinkz/pen/xvLwyG
I see, so that's the new grid system! I wonder when the docs for it will go up? So I guess it only affects the old grid system.
@pauldaiko I was playing around with your pen. I don't have a lot of experience with the new grid or know much about how it works but by removing the column sizes and by disabling wrap, I was able to reproduce the issue with the new grid. https://codepen.io/MatthewAry/pen/eqEZjV
78fbc321583cac2ae845e6c3ddc55048b9f9e806 Was supposed to fix this Related: #8056
Some update here ?
I think this is this bug breaking my layout inside a v-data-table no-data slot :)
Hi ! I think I suffer from the same bug, my v-img does not scale down in some case.
@BenjaminBorlet Exact same problem here.
I also experience this problem