Page is jumping when scrolling
未关闭
还没有人认领这个 Issue。
bug: confirmed
- 主要语言
- JavaScript
- 星标
- 11.8k
- 派生
- 7.9k
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 11
描述
Hey!
I was scrolling the page and it appeared that it was jumping all over the time.
Firstly I thought that it was related to expandable, but I found out that actually, this was due to a change of height in the iframe example
Here is the little video:
Screencast 2023-05-04 17-56-57.webm
Page it was discovered on:
https://react.dev/learn/updating-objects-in-state#copying-objects-with-the-spread-syntax
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 Updating Objects in State 页面开始,在 iframe 示例改变高度时复现滚动跳动。检查 iframe 示例的尺寸调整行为,并验证其高度改变后滚动仍然稳定。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- documentation, frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100