From 161fde08ec41d6ab779f065eb16fba388647f034 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 10 May 2022 11:25:48 +0100 Subject: [PATCH] Fix datepicker not working when toggling disabled state --- packages/bbui/src/Form/Core/DatePicker.svelte | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/bbui/src/Form/Core/DatePicker.svelte b/packages/bbui/src/Form/Core/DatePicker.svelte index fd67fa41bb..1d0d32b03c 100644 --- a/packages/bbui/src/Form/Core/DatePicker.svelte +++ b/packages/bbui/src/Form/Core/DatePicker.svelte @@ -156,8 +156,8 @@ @@ -212,4 +212,7 @@ :global(.flatpickr-calendar) { font-family: "Source Sans Pro", sans-serif; } + .is-disabled { + pointer-events: none !important; + }