Increase z-index for bottom controls to ensure proper layering and interaction

This commit is contained in:
Ross
2025-09-22 11:56:24 +01:00
parent f695fcccd0
commit 9c3c3573bc
+2 -2
View File
@@ -2501,7 +2501,7 @@ function App({ container_id, imageStacks, autoCacheStack, annotationJson, viewer
position: "absolute",
right: 8,
bottom: 8,
zIndex: 10,
zIndex: 110, // above the bottom study selector (zIndex:20)
pointerEvents: "auto", // <-- ensure pointer events are enabled
}}
>
@@ -2550,7 +2550,7 @@ function App({ container_id, imageStacks, autoCacheStack, annotationJson, viewer
padding: "6px 0 6px 0",
display: "flex",
flexDirection: "column",
zIndex: 11,
zIndex: 111,
pointerEvents: "auto", // <-- ensure pointer events are enabled
}}
onClick={e => e.stopPropagation()} // <-- prevent bubbling to viewport