TOC popup doesn't show on Page when next to an Inline Query with Layout set to Grid or Kanban

What’s The Bug?

TOC popup doesn’t show on Page when next to an Inline Query with Layout set to Grid or Kanban but works for other Layouts.

How To Reproduce It

Create a Page with varoius content with headers and an inline query with a layout of Grid or Kanban. Then when scrolling down the page the TOC indicators will show but when the inline query is at the same level as the TOC indicators and you hover over them the popup menu doesn’t show. It does show when it is not aligned with the query.

The Expected Behavior

The popup shouls show regarless.

Additional Context

First noticed it on previous beta version.

Device

Macbook M1 Pro

OS

Sequoia 15.5

Anytype Version

v0.47.21-beta

Network Mode

AnySync

Technical Information

OS version: darwin arm64 15.5.0
App version: 0.47.21-beta
Build number: build on 2025-07-02 12:39:20 +0000 UTC at #303e24de035baac910b683124df4d80469c52c94
Library version: v0.42.0-rc10
Anytype Identity: AAHMLyMXao51ezkRpLN4yMorxTYJkuRJCZM2fCxs4f1pExcF
Analytics ID: 2aba44dd-0848-4525-a86f-c6605fe0d347
Device ID: 12D3KooWAAoPyaEmkT9NoQo54NusuL6QWaGBB6dHLDQydXLJaQAh
Ethereum Address: 0xebCe828Dbc9557d41a752D800AD6311f3F598Bc8

Can you please share a screenshot of the issue?


Here is a screen recording of the difference between layouts.

This report has been added to our issue tracker and received by the Development Team.

This issue has been fixed by the Development Team and will be implemented in an upcoming release.