fix(board): render widget options above grid resize handles

The widget options ActionIcon rendered inside the widget Card, whose
containerType: size creates a stacking context, trapping its zIndex and
letting the dnd-kit resize handles paint over and block it.

Hoist BoardItemMenu out of the Card to the item root (same layer as the
title badge) and raise it to zIndex 30, above the handles (20). Error
recovery after edits is preserved via resetKeys=[item], which replaces
the resetErrorBoundary prop the in-card menu used to receive.
This commit is contained in:
ajnart committed 2026-08-16 14:15:14 +02:00
1 parent 1325418300
commit 3237d5953f
2 files changed
+24 -29

No files matched your search

@@ -105,7 +105,7 @@ const BoardItemMenuInner = ({ item, definition, resetErrorBoundary }: BoardItemM
pos="absolute"
top={12}
right={8}
style={{ zIndex: 10 }}
style={{ zIndex: 30 }}
data-board-widget-settings
aria-label={tItem("menu.label.settingsFor", { name: label })}
>