typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
12 stars 0 forks source link

Scroll on type on a heading makes the preview jump to the table of contents #273

Closed ziiirozone closed 7 months ago

ziiirozone commented 7 months ago

Description

Hello ! If you have a document with a table of contents created with the outline function and you modify the heading in the document, it will make the preview jump to where the heading is in the table of contents instead of showing you where it actually is.

If you create a typst doc with

outline()

pagebreak()

= Title

pagebreak();

hello

and you go to the page with "hello" written in the preview then you change the heading in the .typ doc it will do it.

I believe it should show you the actual heading instead of the table of contents.

I have been loving to write pdf with typst, thanks everyone for your work !

Reproduction URL

No response

Browsers

No response

OS

No response

laurmaedje commented 7 months ago

Duplicate of https://github.com/typst/webapp-issues/issues/87