mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [carousel] fix style when use motionBlur (#18329)
This commit is contained in:
@@ -141,7 +141,7 @@ const carouselClasses = computed(() => {
|
||||
|
||||
const carouselContainer = computed(() => {
|
||||
const classes = [ns.e('container')]
|
||||
if (props.motionBlur && unref(isTransitioning)) {
|
||||
if (props.motionBlur && unref(isTransitioning) && items.value.length > 1) {
|
||||
classes.push(
|
||||
unref(isVertical)
|
||||
? `${ns.namespace.value}-transitioning-vertical`
|
||||
|
||||
Reference in New Issue
Block a user