jd-opensource / jd-opensource/taro-ui
多个手风琴存在,展开会默认使用第一个手风琴的高度,导致其他手风琴高度过高,留白多
- Dominant language
- TypeScript
- Stars
- 4.7k
- Forks
- 740
- PR merge metrics
- No merged PRs in 30d
Description
### Taro UI 版本信息
v2.3.4
### 问题描述
多个手风琴存在,展开其他手风琴会默认使用第一个手风琴的高度,导致其他手风琴展开时候动画高度拉长过高,留白多,之后才恢复
### 复现步骤
点击第一个手风琴,高度比较高,再点击第二个手风琴,本来只有两条数据,展开高度应该很低,但是缺很高,跟第一个手风琴高度一样,会先拉很长再恢复
### 复现代码
setOpen(e)}
title='个人计划'
>
最高学历{userCollegeInfoVO.educationalBackground}
入学年份{userCollegeInfoVO.enrollmentYear}
毕业年份{userCollegeInfoVO.graduationYear}
院校{userCollegeInfoVO.college}
学院{userCollegeInfoVO.academy}
专业{userCollegeInfoVO.major}
班级{userCollegeInfoVO.classRoom}
寝室/宿舍{userCollegeInfoVO.dormitory}
职务信息{userCollegeInfoVO.positionInfo}
setPlanOpen(e)}
title='个人计划'
>
短期计划
{userPersonalPlanInfoVO.shortTermPlan}
职业规划
{userPersonalPlanInfoVO.longTermPlan}
### 报错信息
无
### 系统信息
^3.0.0-alpha
### 补充信息
其他手风琴高度默认使用了第一个手风琴高度
Contributor guide
Assessment
This issue has not been assessed yet.