Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix(frontend): dropdown menu rendering behind antd drawer/modal (z-index regression) (#11604)

Aditya Singh15fbe4f788d5
diff --git a/frontend/src/container/LogDetailedView/BodyTitleRenderer.tsx b/frontend/src/container/LogDetailedView/BodyTitleRenderer.tsx
index 387bb75a54..39be93760d 100644
--- a/frontend/src/container/LogDetailedView/BodyTitleRenderer.tsx
+++ b/frontend/src/container/LogDetailedView/BodyTitleRenderer.tsx
@@ -225,7 +225,7 @@ function BodyTitleRenderer({
<DropdownMenuTrigger asChild>
<Settings style={{ marginRight: 8 }} className="hover-reveal" />
</DropdownMenuTrigger>
- <DropdownMenuContent>
+ <DropdownMenuContent align="start">
<div data-log-detail-ignore="true">
{menuItems.map((item) => (
<DropdownMenuItem
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index 007dd197de..f3612a81fe 100644
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -826,4 +826,10 @@ body.ai-assistant-panel-open {
:root {
--input-focus-outline-width: 0;
--radius-2: 4px;
+
+ // @signozhq/ui dropdown content portals to body with a default z-index of 50,
+ // antd defines it at z-index of 1050. Keeping this till we have components from both
+ // design libraries.
+ --dropdown-menu-content-z-index: 1050;
+ --dropdown-menu-sub-content-z-index: 1050;
}