Skip to content
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][3.7.5] [v-carousel] Layout is incorrect when v-carousel height is specified in % #20759

Open
ThatHai opened this issue Dec 5, 2024 · 0 comments

Comments

@ThatHai
Copy link

ThatHai commented Dec 5, 2024

Environment

Vuetify Version: 3.7.5
Vue Version: 3.5.13
Browsers: Firefox 133.0
OS: Ubuntu undefined

Steps to reproduce

Use the attached VPlay link to reproduce, then set the v-carousel height at 100%, 500 and 50%.

Expected Behavior

The height of the image is limited to the height of its parent container. i.e. the behaviour when v-carousel height is set to a number of piexel.

Actual Behavior

When 100% is specified as height, the image occupies the full width of the container, even if that makes its height bigger than its actual height, or bigger than the height of the browser window.

When 50% is specified as height, the whole carousel layout is broken.

Reproduction Link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant