Open Lymanli opened 2 weeks ago
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: The form component uses a complex layout. When setting different sizes, the height of the select is inconsistent.
@Lymanli 此问题是由于select组件配置了多选后,在动态切换size时,高度没有随之动态修改导致的。 目前正在商议解决方案,可以暂时给多选select组件配置一下key临时规避此问题~
Bot detected the issue body's language is not English, translate it automatically.
@Lymanli This problem is caused by the fact that after the select component is configured with multiple selections, the height is not dynamically modified when the size is dynamically switched. We are currently discussing a solution. You can temporarily configure the key for the multi-select select component to temporarily avoid this problem~
Version
3.19.0
Vue Version
3.4.27
Link to minimal reproduction
Step to reproduce
默认下,demo1、demo2的下拉框高度一致,在复杂布局下按顺序排列。
依次点击按钮small、medium、mini、null修改form的size值,form在small和mini下:
demo1中,下拉多选框高度比下拉单选框要高,必选复选框卡在第一个下拉单选框下面;
demo2中,下拉单选框比复选框要高,URL复选框卡在必选复选框下面;
What is expected
form的size值在small和mini下,表单组件的高度保持一致,组件按顺序排列左边不留空白。
What is actually happening
form的size值在small和mini下,组件高度:下拉多选框>下拉单选框>复选框。
What is your project name
form表单
Any additional comments (optional)
No response