[Bug]: State bug breaking search and eventually freezing up
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 11.8k
- フォーク
- 7.9k
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 11
説明
Summary
I’m on chrome on my iPhone and search works sometimes, but then on certain URLs, like the one linked on this issue, tapping to search just makes the button appear to be held down with no other effect. Trying repeatedly can freeze up the tab.
Page
https://react.dev/reference/react/Component#static-getderivedstatefromerror
Details
If it’s failing to pull up the search UI, and I go and click a link to go somewhere else in the docs, it suddenly does open up search instead of navigating there. If I close it without actually searching, it does continue navigation to the link I tapped. Depending on the new url I’m on, it may then work normally, or this same behavior again. It appears as if it may be happening when the current url is pointing to a named anchor. It’s only happening to me on mobile - it works fine on desktop trying the exact same thing, on the same urls.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、リンクされている React ドキュメントページと名前付きアンカーを含む URL を使い、iPhone の Chrome で問題を再現します。これらのアンカー周辺でのモバイル検索とリンクナビゲーションの動作を追跡します。検索が確実に開き、リンクが通常どおり遷移し、繰り返し試行してもタブがフリーズしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, react
- 領域
- documentation, frontend, web-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100