Skip to content

[stable32] fix(links): scroll to anchor links directly - #8868

Merged
mejo- merged 1 commit into
stable32from
backport/8857/stable32
Jul 13, 2026
Merged

[stable32] fix(links): scroll to anchor links directly#8868
mejo- merged 1 commit into
stable32from
backport/8857/stable32

Conversation

@mejo-

Copy link
Copy Markdown
Member

Setting location.href doesn't work reliably as the window may hold several editors with conflicting IDs (e.g. reader and editor in Collectives). Instead, scroll to the heading in view.dom.

Fixes: #8804

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

Setting location.href doesn't work reliably as the window may hold
several editors with conflicting IDs (e.g. reader and editor in
Collectives). Instead, scroll to the heading in `view.dom`.
Fixes: #8804
Signed-off-by: Jonas <jonas@freesources.org>
@mejo-mejo- self-assigned this Jul 13, 2026
@mejo-mejo- added bug Something isn't working 3. to review feature: links labels Jul 13, 2026
@mejo-
mejo- merged commit 13b8121 into stable32Jul 13, 2026
61 checks passed
@mejo-
mejo- deleted the backport/8857/stable32 branch July 13, 2026 12:22
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewbugSomething isn't workingfeature: links

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@mejo-