Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🔧 fix: Update Z-index values for Navigation and Mask layers (#11375)

Danny Avilaf7893d950798
diff --git a/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx b/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
index 14c6b424b4..2ad167a80c 100644
--- a/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
+++ b/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
@@ -294,6 +294,7 @@ function ConvoOptions({
portal={true}
menuId={menuId}
focusLoop={true}
+ className="z-[125]"
unmountOnHide={true}
isOpen={isPopoverActive}
setIsOpen={setIsPopoverActive}
@@ -321,7 +322,6 @@ function ConvoOptions({
</Ariakit.MenuButton>
}
items={dropdownItems}
- className="z-30"
/>
{showShareDialog && (
<ShareButton
diff --git a/client/src/components/Nav/AccountSettings.tsx b/client/src/components/Nav/AccountSettings.tsx
index d166aaaaee..f35c8ea0fb 100644
--- a/client/src/components/Nav/AccountSettings.tsx
+++ b/client/src/components/Nav/AccountSettings.tsx
@@ -40,7 +40,7 @@ function AccountSettings() {
</div>
</Select.Select>
<Select.SelectPopover
- className="popover-ui w-[305px] rounded-lg md:w-[244px]"
+ className="popover-ui z-[125] w-[305px] rounded-lg md:w-[244px]"
style={{
transformOrigin: 'bottom',
translate: '0 -4px',
diff --git a/client/src/components/Nav/Bookmarks/BookmarkNav.tsx b/client/src/components/Nav/Bookmarks/BookmarkNav.tsx
index 2be884337d..82ed36910f 100644
--- a/client/src/components/Nav/Bookmarks/BookmarkNav.tsx
+++ b/client/src/components/Nav/Bookmarks/BookmarkNav.tsx
@@ -89,6 +89,7 @@ const BookmarkNav: FC<BookmarkNavProps> = ({ tags, setTags }: BookmarkNavProps)
unmountOnHide={true}
setIsOpen={setIsMenuOpen}
keyPrefix="bookmark-nav-"
+ className="z-[125]"
trigger={
<TooltipAnchor
description={label}
diff --git a/client/src/components/Nav/Favorites/FavoriteItem.tsx b/client/src/components/Nav/Favorites/FavoriteItem.tsx
index e758b8cd5d..5f09354def 100644
--- a/client/src/components/Nav/Favorites/FavoriteItem.tsx
+++ b/client/src/components/Nav/Favorites/FavoriteItem.tsx
@@ -136,6 +136,7 @@ export default function FavoriteItem({
mountByState={true}
isOpen={isPopoverActive}
setIsOpen={setIsPopoverActive}
+ className="z-[125]"
trigger={
<Menu.MenuButton
className={cn(
diff --git a/client/src/components/Nav/Nav.tsx b/client/src/components/Nav/Nav.tsx
index 381f70dc20..74883b94f4 100644
--- a/client/src/components/Nav/Nav.tsx
+++ b/client/src/components/Nav/Nav.tsx
@@ -262,7 +262,7 @@ const Nav = memo(
<div
data-testid="nav"
className={cn(
- 'nav fixed left-0 top-0 z-[70] h-full bg-surface-primary-alt',
+ 'nav fixed left-0 top-0 z-[110] h-full bg-surface-primary-alt',
navVisible && 'active',
)}
style={{
diff --git a/client/src/mobile.css b/client/src/mobile.css
index ce9afee971..da0058492e 100644
--- a/client/src/mobile.css
+++ b/client/src/mobile.css
@@ -9,7 +9,7 @@
.nav {
position: fixed;
- z-index: 64;
+ z-index: 110;
top: 0;
/* max-width: 260px; */
@@ -36,7 +36,7 @@
}
.nav-mask {
position: fixed;
- z-index: 63;
+ z-index: 105;
left: 0;
right: 0;
top: 0;