joplin icon indicating copy to clipboard operation
joplin copied to clipboard

[Android] In-page links don't work correctly when page is accessed from external link

Open beamer159 opened this issue 1 year ago • 1 comments

Operating system

Android

Joplin version

2.13.10

Desktop version info

No response

Current behaviour

When a page is reached by clicking an external link from another page, all in-page links jump to the section jumped to from the external link instead of the proper section.

  1. On Page 1, click the link to Page 2 Section 1.
  2. On Page 2, click the link to Page 2 Section 2. However, this jumps to Page 2 Section 1. In fact, all in-page links on Page 2 will jump to Page 2 Section 1.

https://github.com/laurent22/joplin/assets/7436252/b303b67b-fd8b-423f-846a-64cb19bb4dff

Markdown files used in example video

page.md links.md

Expected behaviour

In-page links should always jump to the correct section.

Logs

No response

beamer159 avatar Feb 14 '24 18:02 beamer159

I can reproduce this in version 2.14.5.