Files
AFFiNE/tests
CommaBotandDarkSky 0e7fa49adc fix(editor): paint editor popups above the bi-directional links panel (#15919)
Editor popups are mounted inside `editor-host`, which forms its own
stacking context at the default level. The Show/Hide button in the
bi-directional links panel is positioned and rendered later, so it
painted over open database menus.

The editor container is a flex item, so it now sets `z-index: 1`. This
lifts the editor's stacking context above the following panels without
adding a positioned ancestor, so popup placement and click-outside areas
stay the same. The doc viewport uses `isolation: isolate` so the raised
layer stays below overlays outside the viewport, such as the outline
viewer in doc peek.

fix #14723

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
* Database view options menus now appear above overlapping controls,
making the menu easier to see and use.
  * Editor popups are displayed above panels that overlap the editor.

* **Tests**
* Added coverage to verify the database options menu is visible and on
top at an overlapping point.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: DarkSky <darksky2048@gmail.com>
2026-11-23 22:40:25 +08:00
..
2026-09-20 13:01:49 +08:00