From a6fe435b0715599f908e60b876a2bca65b806a63 Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Mon, 17 Jul 2023 15:26:22 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20Fix=20issue=20with=20drawer?= =?UTF-8?q?=20transition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Settings/SettingsDrawer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Settings/SettingsDrawer.tsx b/src/components/Settings/SettingsDrawer.tsx index be7aabc71..846080546 100644 --- a/src/components/Settings/SettingsDrawer.tsx +++ b/src/components/Settings/SettingsDrawer.tsx @@ -1,8 +1,8 @@ import { Drawer, Tabs, Title } from '@mantine/core'; import { useTranslation } from 'next-i18next'; + import { useConfigContext } from '../../config/provider'; import { useConfigStore } from '../../config/store'; - import CommonSettings from './Common/CommonSettings'; import CustomizationSettings from './Customization/CustomizationSettings'; @@ -54,6 +54,7 @@ export function SettingsDrawer({ updateConfig(configName, (_) => config, false, true); }} + transitionProps={{ duration: 200 }} > From 2c3945a47ac94059099404d2b7d761fe110819da Mon Sep 17 00:00:00 2001 From: Meier Lukas Date: Mon, 17 Jul 2023 15:58:16 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20Add=20transition=20manually?= =?UTF-8?q?=20to=20settings=20drawer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Settings/SettingsDrawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Settings/SettingsDrawer.tsx b/src/components/Settings/SettingsDrawer.tsx index 846080546..f2906947b 100644 --- a/src/components/Settings/SettingsDrawer.tsx +++ b/src/components/Settings/SettingsDrawer.tsx @@ -54,7 +54,7 @@ export function SettingsDrawer({ updateConfig(configName, (_) => config, false, true); }} - transitionProps={{ duration: 200 }} + transitionProps={{ transition: 'slide-left' }} >