Animation not working when accordion is in iframe
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
按照描述,分别在 iframe 内部和外部复现 accordion 行为,然后在 Chrome 中检查渲染出的高度样式。跟踪 rc-collapse 中的动画入口,以确定为什么会跳过初始高度;当 iframe 内部的打开和关闭动画与外部一致时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I have a situation where we used your rc-collapse in our web app and in development it worked great. For some reasons we need to put it in iframe, and after we did it animation stopped working.
Accordion is still opening and closing tho, but without animation. It seems to me that it doesn't set the initial height (by inspecting it in Chrome), only final height. For example: when I want to open it first time, it only sets height: 200px. But without iframe, it correctly sets first 0px and 200px after that, so animation works.
Do you know why this might be happening?
- 主要语言
- TypeScript
- 星标
- 332
- 派生
- 140
- 平均合并
- 22 小时 19 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
react-component/collapse 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
react-component/collapse#203 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
react-component/collapse#345 ·
-
难度 1/5 1 小时以内 新手友好度 35/100
react-component/collapse#304 ·
-
难度 3/5 1-2 天 新手友好度 20/100
react-component/collapse#234 ·
-
难度 4/5 3-5 天 新手友好度 30/100
react-component/collapse#182 ·
查看 react-component/collapse 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
bcgov/bc-wallet-mobile#4761 · 1 条评论 ·
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
refactor
难度 2/5 1-3 小时 新手友好度 84/100