fix(app): improve carousel list recursive error

This commit is contained in:
Ruben Fiszel
2025-08-11 10:04:09 +00:00
parent e134364afe
commit a47463e053
4 changed files with 4 additions and 11 deletions

View File

@@ -135,15 +135,7 @@
<InitializeComponent {id} />
<RunnableWrapper
render={true}
{outputs}
autoRefresh
{componentInput}
{id}
bind:initializing
bind:result
>
<RunnableWrapper {render} {outputs} autoRefresh {componentInput} {id} bind:initializing bind:result>
{#if everRender}
<div class="w-full flex flex-wrap overflow-auto divide-y max-h-full">
{#if $app.subgrids?.[`${id}-0`]}

View File

@@ -77,7 +77,7 @@
})
}
$effect.pre(() => {
$effect(() => {
componentInput.type === 'evalv2' &&
componentInput.connections &&
untrack(() => builtSubscriptions(componentInput.connections))

View File

@@ -130,6 +130,7 @@
{@const left = (item[getComputedCols] && item[getComputedCols].x) * xPerPx + gapX}
<div
id={`wm-component-${item.id}`}
class="svlt-grid-item"
style="width: {width}px; height:{height}px; {onTop
? 'z-index: 1000;'

View File

@@ -77,7 +77,7 @@
const scale = ctx ? ctx.scale : writable(100)
const divId = `component-${id}`
const divId = `wm-component-${id}`
let shadowElement: HTMLElement | undefined = $state()
let active = $state(false)