ant-design/ant-design-mobile

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

クローズ

#6,567 opened on 2024/03/07

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,313 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (11,238 個のスター)
PR merge metrics
 (平均マージ 7h 11m) (30d で 8 merged PRs)

説明

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

コントリビューターガイド