Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anchor links not working in read-only mode #1047

Closed
m10x opened this issue Dec 13, 2023 · 1 comment
Closed

Anchor links not working in read-only mode #1047

m10x opened this issue Dec 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@m10x
Copy link

m10x commented Dec 13, 2023

Describe the bug
All anchors are shown as #undefined when hovering over them in read-only mode. Only when switching to the edit mode the correct anchor is shown, e.g. #h-my-header

https://example.com/apps/collectives/Test/Page?fileId=123456#h-my-header will only open the page without jumping to the anchor. Only when switching to the edit mode and refreshing the page it will jump to the anchor.

When testing this with chromium today, at first it worked as expected. But now it also only shows #undefined as anchor in read-only.

I have this bug since many months.

Expected behavior
Hovering / Clicking on an anchor in read-only mode should show the correct anchor and not #undefined. Opening a link with a specified anchor in read-only mode should jump to the anchor.

Screenshots
If applicable, add screenshots to help explain your problem.

Server details:

  • Collectives app version: 2.9.2
  • Nextcloud version: 28.0.0 (but had the same issue with 27)
  • PHP Version: dunno, using nextcloud-db docker
  • Database: MySQL, don't know the version, I am using nextcloud-db docker

Client details:

  • OS: Ubuntu
  • Browser: Firefox / Chromium
  • Browser version: 120 / 120.0.6099.71
  • Device: Desktop
@m10x m10x added the bug Something isn't working label Dec 13, 2023
@mejo-
Copy link
Member

mejo- commented May 15, 2024

Closing this as a duplicate of #1114 as there's more details there.

@mejo- mejo- closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants