From 7798c4bbdfa94c5457d63b5eece23082943ddcfc Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Tue, 2 Jun 2026 16:21:32 +0300 Subject: [PATCH] refactor(combo-control): use native Popover instead of bits-ui The native Popover always renders its content (the vertical slider), so the slider's value label is in the DOM even when closed, and opening is driven by the browser's declarative popovertarget invoker (not simulated by jsdom on click). Update the tests to scope value assertions to the trigger and drive open via showPopover(), matching Popover.svelte.test.ts. --- .../ui/ComboControl/ComboControl.svelte | 102 +++++++++--------- .../ComboControl/ComboControl.svelte.test.ts | 43 ++++++-- 2 files changed, 85 insertions(+), 60 deletions(-) diff --git a/src/shared/ui/ComboControl/ComboControl.svelte b/src/shared/ui/ComboControl/ComboControl.svelte index 778274e..1371c6d 100644 --- a/src/shared/ui/ComboControl/ComboControl.svelte +++ b/src/shared/ui/ComboControl/ComboControl.svelte @@ -6,11 +6,13 @@