From d429bd8f6098ccec7bf58949b74bc4e619330115 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher=20Andr=C3=A9s?= Date: Sun, 19 Oct 2025 17:12:49 +0200 Subject: [PATCH] FIX: Remove transition so there is no close drawer glitch (#459) --- webapp/app.ironcalc.com/frontend/src/App.tsx | 1 - .../frontend/src/components/LeftDrawer/LeftDrawer.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp/app.ironcalc.com/frontend/src/App.tsx b/webapp/app.ironcalc.com/frontend/src/App.tsx index 78dfe08..f77cd67 100644 --- a/webapp/app.ironcalc.com/frontend/src/App.tsx +++ b/webapp/app.ironcalc.com/frontend/src/App.tsx @@ -218,7 +218,6 @@ const Wrapper = styled("div")` const MainContent = styled("div")<{ isDrawerOpen: boolean }>` margin-left: ${({ isDrawerOpen }) => (isDrawerOpen ? "0px" : "-264px")}; - transition: margin-left 0.2s; width: ${({ isDrawerOpen }) => isDrawerOpen ? "calc(100% - 264px)" : "100%"}; display: flex; diff --git a/webapp/app.ironcalc.com/frontend/src/components/LeftDrawer/LeftDrawer.tsx b/webapp/app.ironcalc.com/frontend/src/components/LeftDrawer/LeftDrawer.tsx index 6b44b1a..c72b5eb 100644 --- a/webapp/app.ironcalc.com/frontend/src/components/LeftDrawer/LeftDrawer.tsx +++ b/webapp/app.ironcalc.com/frontend/src/components/LeftDrawer/LeftDrawer.tsx @@ -26,7 +26,7 @@ function LeftDrawer({ anchor="left" open={open} onClose={onClose} - transitionDuration={200} + transitionDuration={0} >