From 9f7baf55403df2389c094191ea8d9185cff515f9 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Mon, 30 Nov 2026 23:33:47 +0100 Subject: [PATCH] fix: a long confirm dialog on a phone hides its Confirm and Cancel buttons (#35419) When a function or tool asked for confirmation or input with a message longer than the screen, the dialog was cut at the screen height and could not be scrolled, so its Confirm and Cancel buttons were out of reach. The dialog now scrolls, the way the bottom sheet already does. Fixes #35414 --- src/lib/components/common/ConfirmDialog.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/common/ConfirmDialog.svelte b/src/lib/components/common/ConfirmDialog.svelte index 6d01062e55..31961d447b 100644 --- a/src/lib/components/common/ConfirmDialog.svelte +++ b/src/lib/components/common/ConfirmDialog.svelte @@ -160,7 +160,7 @@ aria-modal="true" aria-label={title !== '' ? title : $i18n.t('Confirm your action')} tabindex="-1" - class="m-auto max-w-full w-[32rem] mx-2 bg-base-0 dark:bg-base-950 rounded-3xl max-h-[100dvh] shadow-3xl border border-base-0 dark:border-base-900" + class="m-auto max-w-full w-[32rem] mx-2 bg-base-0 dark:bg-base-950 rounded-3xl max-h-[100dvh] overflow-y-auto scrollbar-hidden shadow-3xl border border-base-0 dark:border-base-900" in:flyAndScale on:mousedown={(e) => { e.stopPropagation();