Skip to content

[stable34] fix(links): scroll to anchor links directly#8861

Merged
mejo- merged 1 commit into
stable34from
backport/8857/stable34
Jul 13, 2026
Merged

[stable34] fix(links): scroll to anchor links directly#8861
mejo- merged 1 commit into
stable34from
backport/8857/stable34

Conversation

@backportbot

@backportbot backportbot Bot commented Jul 13, 2026

Copy link
Copy Markdown

Backport of PR #8857

@backportbot backportbot Bot added bug Something isn't working 3. to review feature: links labels Jul 13, 2026
@backportbot backportbot Bot added this to the Nextcloud 34.0.1 milestone Jul 13, 2026
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- force-pushed the backport/8857/stable34 branch from 295294c to b873ab4 Compare July 13, 2026 10:45
@mejo- mejo- merged commit d75f18a into stable34 Jul 13, 2026
61 of 64 checks passed
@mejo- mejo- deleted the backport/8857/stable34 branch July 13, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant