ant-design-mobile icon indicating copy to clipboard operation
ant-design-mobile copied to clipboard

Picker组件旋转问题

Open tuqiuning opened this issue 1 year ago • 3 comments

Version of antd-mobile

5.33.0

Operating system and its version

iOS, Android

Browser and its version

Android Microsoft Edge 119.0.2151.65

Sandbox to reproduce

No response

What happened?

Picker组件的弹窗使用transform:rotate(90deg)旋转后,滑动屏幕切换选择器的选项时只能左右滑动进行切换,上下滑动切换不了选项。希望可以通过props传入滑动方向属性的方式实现自定义滑动方向。

Relevant log output

No response

tuqiuning avatar Dec 07 '23 03:12 tuqiuning

感觉挺正常的呀,旋转之后方向不就变了吗,如果上下滑动会是什么交互

1587315093 avatar Dec 14 '23 02:12 1587315093

感觉挺正常的呀,旋转之后方向不就变了吗,如果上下滑动会是什么交互

旋转之后就会像这样,文字是vw方向,但是vw方向滑动不能切换,只能vh方向滑动切换

tuqiuning avatar Dec 14 '23 03:12 tuqiuning

Picker组件旋转

tuqiuning avatar Dec 14 '23 04:12 tuqiuning