Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Anchor links within tables don’t scroll to target content in Firefox

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript

調査の方向性

一覧にある Controller Actions または config のドキュメントページを Firefox で開いて問題を再現し、テーブル内のリンクと同等のサイドバーリンクを比較します。これらのページで使用されているページまたはサイトのエントリポイントから、ドキュメントサイトのアンカーリンク処理を追跡します。テーブル内のアンカーが URL を更新し、他のブラウザーと同じ対象コンテンツまで Firefox でもスクロールすれば完了です。

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

説明

Bug
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:

Steps to reproduce
  1. Visit one of the pages above in Firefox.
  2. Find a link within a table in the main content and click it.
  3. Observe that nothing happens.
  4. Find the equivalent link in the sidebar or other page copy and click it.
  5. 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

環境構築

はじめの一歩

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

craftcms/docs のほかの issue

craftcms/docs の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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