We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e360bf commit 77e7eeaCopy full SHA for 77e7eea
src/lib/accordion/Accordion.svelte
@@ -29,9 +29,8 @@
29
// Set context during initialization
30
setAccordionContext(reactiveCtx);
31
32
- $effect(() => {
33
- createSingleSelectionContext(multiple);
34
- });
+ // Create selection context synchronously for proper nesting
+ createSingleSelectionContext(multiple);
35
36
const base = $derived(accordion({ flush, class: clsx(theme, className) }));
37
</script>
0 commit comments