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