Anchor links within tables don’t scroll to target content in Firefox
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- documentation, web-dev
調査の方向性
一覧にある Controller Actions または config のドキュメントページを Firefox で開いて問題を再現し、テーブル内のリンクと同等のサイドバーリンクを比較します。これらのページで使用されているページまたはサイトのエントリポイントから、ドキュメントサイトのアンカーリンク処理を追跡します。テーブル内のアンカーが URL を更新し、他のブラウザーと同じ対象コンテンツまで Firefox でもスクロールすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
Anchor scroll behavior is inconsistent specifically in Firefox. (With this issue, behavior is fine in Chrome, Safari, and Edge.)
Choosing an anchor link that’s inside a table in the page content will update the browser URL without scrolling to page content as expected. In the case of the Controller Actions pages, choosing the exact same item from the sidebar/TOC menu works as expected.
Pages where this can be observed:
- https://craftcms.com/docs/3.x/dev/controller-actions.html
- https://craftcms.com/docs/commerce/3.x/dev/controller-actions.html
- https://craftcms.com/docs/3.x/config/ (see
CRAFT_BASE_PATHlink)
Steps to reproduce
- Visit one of the pages above in Firefox.
- Find a link within a table in the main content and click it.
- Observe that nothing happens.
- Find the equivalent link in the sidebar or other page copy and click it.
- Observe that you’re immediately scrolled to the expected content.
Additional Information
Firefox 88.0 on macOS 11.3.
- 主要言語
- JavaScript
- スター
- 43
- フォーク
- 160
- 平均マージ
- 3時間 57分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
craftcms/docs のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Broken Link対応中かも @PerceiveWorld が 144 日前に担当しました。 オープンBroken Link
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
-
Broken LinkオープンBroken Link
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
似ている issue
-
area: docs good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
Support
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openseadragon/openseadragon#2996 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
jfromaniello/url-join#134 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100