Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#209 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Reproduce the issue in Firefox on the listed Controller Actions or config documentation pages, comparing links inside tables with equivalent sidebar links. Trace the documentation site's anchor-link handling from the page or site entry point used for those pages. Done means table-contained anchors update the URL and scroll to the same target content in Firefox as in other browsers.

Written by the indexing model from the issue text.

Description

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.

Dominant language
JavaScript
Stars
42
Forks
160
Avg merge
3h 9m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from craftcms/docs

All issues in craftcms/docs

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.