reactjs / reactjs/react.dev

Page is jumping when scrolling

オープン
#5,995 コメント 9 件 リアクション 10 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug: confirmed
主要言語
JavaScript
スター
11.8k
フォーク
7.9k
平均マージ
1日 11時間
マージ済み PR(30日)
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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リンク先の Updating Objects in State ページから始め、iframe の例の高さが変化する際にスクロールがジャンプする現象を再現してください。iframe の例のサイズ調整の挙動を調査し、高さが変化した後もスクロールが安定していることを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, react
領域
documentation, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。