[Bug]: Clicking "Show details" is unresponsive, but instead clicking anywhere else toggles the accordion
オープン
まだ誰も着手していません。
bug: unconfirmed
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
Summary
When I click "Show details" button of 2 "Deep Dive" accordions, nothing happens, but instead, clicking anywhere else, will toggle the accordion.
Page
https://react.dev/reference/react/useMemo#usage
Details
Deep Dive
How to tell if a calculation is expensive?
Deep Dive
Should you add useMemo everywhere?
Ubuntu, Chrome 135.0
The bug is not present on Firefox.
I have tried refreshing the page but the issue persists.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue にリンクされている React useMemo のリファレンスページから始め、Ubuntu 上の Chrome で 2 つの Deep Dive アコーディオン操作を再現してから、バグが発生しない Firefox と比較します。ページの Show details の動作を調査し、ボタンが直接反応する一方で、別の場所をクリックしてもアコーディオンが予期せず切り替わらないことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100