hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.31k stars 285 forks source link

`Select` with `bind` hangs in infinite loop in `each` block when using sveltekit SSR #528

Open DetachHead opened 1 year ago

DetachHead commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce

+page.svelte

<script>
    import Select from '@smui/select'
</script>

{#each [undefined] as thing}
    <Select bind:value={thing}>
        {console.log(1)}
    </Select>
{/each}

Expected behavior no hang

Screenshots image

Desktop (please complete the following information):