What’s The Bug?
If a page has a Table of Contents, a click on one of its entries does not jump to the corresponding place if it is inside of a closed Toggle.
How To Reproduce It
- Have a Page with a TOC as well as a closed Toggle that contains headings.
- Click on an entry in the TOC that would lead to a heading inside of the closed Toggle.
Result:
A jump to the top of the Page happens, instead of a jump to the heading inside the Toggle.
Image or Video
The Expected Behavior
The click on an entry in the TOC should perform a jump to the corresponding place in the Page, no matter if it’s inside of a closed Toggle or not.
Additional Context
@Filip there is no Tag here in the BR form for the TOC.
Device
Desktop PC
OS
Win 10
Anytype Version
0.47.5
Network Mode
AnySync
Technical Information
OS version: win32 x64 10.0.19045
App version: 0.47.5
Build number: build on 2025-06-27 13:25:58 +0000 UTC at #fcd0f274451d6fd888761f5a67e2aabfb4978335
Library version: v0.41.2
Anytype Identity: AAtt6aReARByswg2CbvZhveoJEEcnydfDu7U2VAkgJALsE7D
Analytics ID: 8a514008-4f5d-40d3-970f-a0d241b63af2
Device ID: 12D3KooWJetN7BsvA5nz1NXRVEso58CqzXwA9R4pU8RPUjJNgF63
Ethereum Address: 0x2da4881c5D6689bac7d6B6BC00D8862aACca9B60