diff --git a/packages/bits-ui/src/lib/bits/range-calendar/components/range-calendar.svelte b/packages/bits-ui/src/lib/bits/range-calendar/components/range-calendar.svelte index a823560b8..e5d761e58 100644 --- a/packages/bits-ui/src/lib/bits/range-calendar/components/range-calendar.svelte +++ b/packages/bits-ui/src/lib/bits/range-calendar/components/range-calendar.svelte @@ -58,7 +58,7 @@ value: box.with( () => (value === undefined ? { start: undefined, end: undefined } : value), (v) => { - if (v !== value) { + if (!$state.is(v, value)) { value = v; onValueChange(v as any); }