ant-design/ant-design-mobile

src/components/swiper/swiper.tsx 第362行 width: `${startIndex * 100}%`, 在垂直的情况下应该改为 height: `${startIndex * 100}%`

Closed

#6,567 opened on Mar 7, 2024

 (0 comments) (0 reactions) (0 assignees)TypeScript (2,313 forks)batch import
bughelp wanted

Repository metrics

Stars
 (11,238 stars)
PR merge metrics
 (Avg merge 7h 11m) (8 merged PRs in 30d)

Description

Version of antd-mobile

v5.34.0

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

src/components/swiper/swiper.tsx 第362行 width: ${startIndex * 100}%, 在direction='vertical'的情况下应该改为 height: ${startIndex * 100}%

Relevant log output

No response

Contributor guide