tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

🐛 [Carousel]: 垂直模式的时候,设置arrow属性,箭头显示位置有误

Open AcWrong02 opened this issue 10 months ago • 3 comments

Version

latest

Vue Version

latest

Link to minimal reproduction

<template>
  <tiny-carousel height="150px" type="vertical" arrow>
    <tiny-carousel-item class="carousel-item-demo" v-for="item in 4" :key="item">
      <h3>{{ item }}</h3>
    </tiny-carousel-item>
  </tiny-carousel>
</template>

<script lang="jsx">
import { Carousel, CarouselItem } from '@opentiny/vue'

export default {
  components: {
    TinyCarousel: Carousel,
    TinyCarouselItem: CarouselItem
  }
}
</script>

<style scoped>
.carousel-item-demo:nth-child(2n) {
  background-color: #fafafa;
}

.carousel-item-demo:nth-child(2n + 1) {
  background-color: #edf0f3;
}
</style>

Step to reproduce

点击链接即可查看效果

What is expected

上下箭头位置合理

What is actually happening

上下箭头重合了

What is your project name

null

Any additional comments (optional)

No response

AcWrong02 avatar Apr 09 '24 07:04 AcWrong02

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Carousel]: When setting the arrow attribute in vertical mode, the arrow display position is wrong.

Issues-translate-bot avatar Apr 09 '24 07:04 Issues-translate-bot

待评估,纵向模式下,箭头是否需要

James-9696 avatar Jul 31 '24 06:07 James-9696

Bot detected the issue body's language is not English, translate it automatically.


To be evaluated, whether arrows are needed in portrait mode

Issues-translate-bot avatar Jul 31 '24 06:07 Issues-translate-bot