Replies: 1 comment
-
|
Hi @JintNiu! I'm Dosu and I’m helping the ant-design-mobile team. 目前 Picker 的实现是通过 CSS 固定每项高度( 你可以尝试用 社区和 issue 讨论也确认了这个限制,目前没有官方支持多行 label 和 mask 高度自适应的方案 相关讨论 相关讨论2。 如果你的业务场景必须支持多行 label 和高度自适应,建议考虑自定义 Picker 组件或用其他交互方式实现。现有 Picker 只能通过调整 To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
每行高度是根据--item-height样式设置的,但每个label的长度不同。不管是覆盖text-overflow等相关样式,还是设置--item-height为auto都不行
Beta Was this translation helpful? Give feedback.
All reactions