fix(webui): keep touch app chrome inside the visual viewport

This commit is contained in:
Xubin Ren committed 2026-10-04 10:40:09 +08:00
1 parent 69a368fdf8
commit 4e77584eb7
7 files changed
+157

No files matched your search

+2
View File
@@ -54,6 +54,7 @@ import { useSkills } from "@/hooks/useSkills";
import { useLogoFallback } from "@/hooks/useLogoFallback";
import { usePageVisibility } from "@/hooks/usePageVisibility";
import { useMediaQuery } from "@/hooks/useMediaQuery";
import { useAppViewport } from "@/hooks/useAppViewport";
import type { SendAttachment, SendOptions } from "@/hooks/useNanobotStream";
import { ThemeProvider, useTheme } from "@/hooks/useTheme";
import { logoFallbackUrls } from "@/lib/provider-brand";
@@ -894,6 +895,7 @@ function resolveRuntimeSurface(
}
export default function App() {
useAppViewport();
const { t } = useTranslation();
const [state, setState] = useState<BootState>({ status: "loading" });
const bootstrapSecretRef = useRef("");