fix dialog zIndex

actual-tui-plugins
Sebastian Herrlinger 2026-03-07 01:26:55 +01:00
parent f5441d82a0
commit ea5423c2ef
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ export function Dialog(
height={dimensions().height}
alignItems="center"
position="absolute"
zIndex={3000}
paddingTop={dimensions().height / 4}
left={0}
top={0}
@ -151,6 +152,7 @@ export function DialogProvider(props: ParentProps) {
{props.children}
<box
position="absolute"
zIndex={3000}
onMouseDown={(evt) => {
if (!Flag.OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT) return
if (evt.button !== MouseButton.RIGHT) return