From e0d55dae1331383fc7662bea6816501ec63c3a1d Mon Sep 17 00:00:00 2001 From: Firman Ramdhani <33869609+firmanramdhani@users.noreply.github.com> Date: Tue, 4 Aug 2026 16:47:53 +0700 Subject: [PATCH] fix: prevent menu closure when switching language in user dropdown Set comboboxProps={{ withinPortal: false }} on the language Select inside Menu.Dropdown so its option list renders inside the Menu's DOM tree rather than a portal. This prevents the Menu from treating option clicks as outside interactions and closing before changeLanguage fires. --- apps/web/src/apps/auth/login/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/web/src/apps/auth/login/index.tsx b/apps/web/src/apps/auth/login/index.tsx index 3fd3545..7053075 100644 --- a/apps/web/src/apps/auth/login/index.tsx +++ b/apps/web/src/apps/auth/login/index.tsx @@ -87,7 +87,6 @@ export default function LoginPage() { size="xs" variant="unstyled" w={90} - comboboxProps={{ withinPortal: false }} data={[ { value: 'en', label: t('common:english') }, { value: 'id', label: t('common:indonesian') },