back/forward scroll restoration lands clamped to the outgoing page
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
The custom helper is src/layout/scroll-to-top.tsx; find where the webui mounts declarative <BrowserRouter>. Migrate the default app to createBrowserRouter plus RouterProvider and mount first-party <ScrollRestoration/> so restore runs after the destination commits. Swap forward-link preserveScroll for built-in preventScrollReset and remove the custom component. Done when back/forward from a short page to a long scrolled list lands at the stored offset.
索引モデルが issue の本文から書いたものです。
説明
The webui uses the declarative <BrowserRouter>, leaving back/forward scroll restoration to the browser (a small custom component, src/layout/scroll-to-top.tsx, only covers scroll-to-top on forward navigation, which the declarative router does not provide). The limitation: on a same-document pop the browser restores the stored offset synchronously at popstate, while the outgoing page is still in the DOM — react-router v7 commits the new location inside startTransition a frame later — so the landing position is clamped to the outgoing page's height and never corrected. Navigating back from a short page to a long, deeply scrolled list therefore lands well above where the user left, and no layout work can fix it since the destination is not rendered when the browser restores.
The intended fix is migrating the default app to a data router (createBrowserRouter + RouterProvider) and mounting react-router's first-party <ScrollRestoration/>, which restores after the destination commits; that also replaces the custom component (forward links switch from the preserveScroll state to the built-in preventScrollReset).
- 主要言語
- Java
- スター
- 2.1k
- フォーク
- 362
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 44
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-openvsx/openvsx のほかの issue
-
`ovsx verify` fails for a version older than the 100 newest of an extension対応中かも @trivikr が今日担当しました。 オープンcli
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
eclipse-openvsx/openvsx#2482 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eclipse-openvsx/openvsx#2469 ·
メンテナーはふだん 1 日以内に返信
-
cli
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
eclipse-openvsx/openvsx#2423 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
eclipse-openvsx/openvsx#2476 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
eclipse-openvsx/openvsx#2439 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
eclipse-openvsx/openvsx の issue をすべて見る
似ている issue
-
[DEFECT] AsciiDoc builders write a stray ## before every schema member when the namespace prefixes file binds the schema's own namespace対応中かも @Beehtrix が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cimug-org/CIMTool#427 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Range type (eg Condition.onsetRange) fails IPS $summary + Observation.valueQuantity only render value in narrative対応中かも @xmhorsehead が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hapifhir/hapi-fhir#8952 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Skip installing contributed bundle when existing same-version bundle cannot be uninstalled対応中かも @wenytang-ms が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eclipse-jdtls/eclipse.jdt.ls#4004 ·
メンテナーはふだん 1 日以内に返信
-
[🐞]: Moonlight 3.9.0 dedicated server crash - CreateWorldScreenMixin targets missing client classオープン1.21 bug FABRIC server
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MehVahdJukaar/Moonlight#506 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
godotengine/godot#126005 ·
メンテナーはふだん 1 日以内に返信