reactjs / reactjs/react.dev

BUG - Hidden "FAQ" menu items in sidebar on desktop screen

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

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

主要言語
JavaScript
スター
11.8k
フォーク
7.9k
平均マージ
1日 11時間
マージ済み PR(30日)
11

説明

Issue

Hi, I have noticed an issue with the sidebar section on the desktop screen. The FAQ menu contains two items(Versioning Policy and Virtual DOM and Internals) that are hidden or not shown properly scroll down to the bottom.

Steps To Reproduce

Although there may be different approaches to fix this issue I have found one of them mentioned below. Link of the following code to update.

  • from
    [media.greaterThan('small')]: {
                  position: 'fixed',
                  zIndex: 2,
                  // previous code
                  // height: 'calc(100vh - 60px)',
                  // updated code
                  height: calc(100vh - 110px);
                  overflowY: 'auto',
                  WebkitOverflowScrolling: 'touch',
                  marginRight: -999,
                  paddingRight: 999,
                  backgroundColor: '#f7f7f7',
                  opacity: '1 !important',
                },
    
                [media.size('small')]: {
                 // previous code
                  // height: 'calc(100vh - 40px)',
                  // updated code
                  height: calc(100vh - 110px);
                },
    
                [media.between('medium', 'large')]: {
                 // previous code
                  // height: 'calc(100vh - 50px)',
                  // updated code
                  height: calc(100vh - 110px);
                },
    

The current behavior

react_sidebar

The expected behavior

react_sidebar_e

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

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

はじめの一歩

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

調査の方向性

src/components/StickyResponsiveSidebar/StickyResponsiveSidebar.js の91〜109行目付近から始め、デスクトップおよびレスポンシブブレークポイントでのサイドバーの高さとオーバーフローの挙動を調査してください。影響を受ける画面サイズで最下部までスクロールしたときに、FAQの項目 Versioning Policy と Virtual DOM and Internals が引き続き表示され、到達可能であることを確認してください。

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

評価

技術スタック
javascript, react
領域
frontend
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
48/100

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

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