diff --git a/studio/frontend/src/components/navbar.tsx b/studio/frontend/src/components/navbar.tsx
index 03ea77a8b2..d90276a641 100644
--- a/studio/frontend/src/components/navbar.tsx
+++ b/studio/frontend/src/components/navbar.tsx
@@ -209,7 +209,7 @@ export function Navbar() {
{/* Right: mobile */}
-
+
{tourId ? (
diff --git a/studio/frontend/src/components/ui/dialog.tsx b/studio/frontend/src/components/ui/dialog.tsx
index bb9e6816d5..5556c42e2b 100644
--- a/studio/frontend/src/components/ui/dialog.tsx
+++ b/studio/frontend/src/components/ui/dialog.tsx
@@ -189,6 +189,7 @@ export {
DialogHeader,
DialogOverlay,
DialogPortal,
+ DialogPortalContainerContext,
DialogTitle,
DialogTrigger,
};
diff --git a/studio/frontend/src/components/ui/sheet.tsx b/studio/frontend/src/components/ui/sheet.tsx
index 8e7ad75e0d..d2b12e6cba 100644
--- a/studio/frontend/src/components/ui/sheet.tsx
+++ b/studio/frontend/src/components/ui/sheet.tsx
@@ -3,8 +3,10 @@
import { Dialog as SheetPrimitive } from "radix-ui";
import type * as React from "react";
+import { useState } from "react";
import { Button } from "@/components/ui/button";
+import { DialogPortalContainerContext } from "@/components/ui/dialog";
import { cn } from "@/lib/utils";
import { Cancel01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -69,6 +71,7 @@ function SheetContent({
overlayClassName?: string;
overlayPosition?: "fixed" | "absolute";
}) {
+ const [contentEl, setContentEl] = useState
(null);
return (
- {children}
+
+ {children}
+
{showCloseButton && (
void;
params: InferenceParams;
onParamsChange: (params: InferenceParams) => void;
autoTitle: boolean;
@@ -160,12 +169,14 @@ interface ChatSettingsPanelProps {
export function ChatSettingsPanel({
open,
+ onOpenChange,
params,
onParamsChange,
autoTitle,
onAutoTitleChange,
onReloadModel,
}: ChatSettingsPanelProps) {
+ const isMobile = useIsMobile();
const isGguf = useChatRuntimeStore((s) => s.activeGgufVariant) != null;
const ggufContextLength = useChatRuntimeStore((s) => s.ggufContextLength);
const kvCacheDtype = useChatRuntimeStore((s) => s.kvCacheDtype);
@@ -214,24 +225,21 @@ export function ChatSettingsPanel({
}
}
- return (
-