[Bug]: Example: Scrolling to an element does not work for certain display widths
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
Summary
At certain window widths, I believe that the Example: Scrolling to an element looks as if it's not working.
I noticed this when I had my browser window set to half my screen width. Since I was using 1920x1080px, my browser's pixel width at the time would have been about 960px. From my initial testing around, I believe this happens for the width range of 935px to 1023px
From what I understand, the logic behind it is working, it just so happens that the increased width of the card / parent component causes it to appear though it isn't
Page
https://react.dev/learn/manipulating-the-dom-with-refs#example-scrolling-to-an-element
Details
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンク先の「Example: Scrolling to an element」ページから始め、幅が935pxから1023pxの範囲でその動作を再現してください。スクロールが効果がないように見える理由を特定するため、例とそのカードまたは親レイアウトを調べてください。この範囲全体でターゲットが目に見えて正しくスクロールすれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100