Open
Description
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_PATH
link)
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.