You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try putting a content-class as object/array on a v-carousel-item.
Expected Behavior
The typing for content-class match the actual implementation.
Actual Behavior
While the content-class does correctly carry the class over to the v-responsive__content, the typings require it to be a string. So ignoring the typescript error, it does actually work, which is weird.
If the current typing string is genuinely correct, we're going to need a way to serialise an object/array of classes into the string that it wants. I have not found an exported function in Vue that provides that functionality. Besides, it'd be good for consistency if all "class-ish" props have the same typings.
The text was updated successfully, but these errors were encountered:
Environment
Vuetify Version: 3.6.1
Vue Version: 3.4.26
Browsers: Firefox 125.0
OS: Windows 10
Steps to reproduce
Try putting a
content-class
as object/array on av-carousel-item
.Expected Behavior
The typing for
content-class
match the actual implementation.Actual Behavior
While the
content-class
does correctly carry the class over to thev-responsive__content
, the typings require it to be a string. So ignoring the typescript error, it does actually work, which is weird.Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
If the current typing
string
is genuinely correct, we're going to need a way to serialise an object/array of classes into the string that it wants. I have not found an exported function in Vue that provides that functionality. Besides, it'd be good for consistency if all "class-ish" props have the same typings.The text was updated successfully, but these errors were encountered: