svelte-carousel
svelte-carousel copied to clipboard
Carousel Crashes randomly on Navigation.
When navigating around my sapper app, I randomly get crashes with the Carousel unmounting.
index.mjs:192 Uncaught (in promise) TypeError: Cannot read property 'removeChild' of null
at detach (index.mjs:192)
at detach_dev (index.mjs:1557)
at Object.destroy [as d] (Slider.svelte:29)
at Object.destroy [as d] (Carousel.svelte:14)
at destroy_component (index.mjs:1407)
at Object.destroy [as d] (Slider.svelte:12)
at destroy_component (index.mjs:1407)
at Object.destroy [as d] (index.svelte:17)
at destroy_component (index.mjs:1407)
at App.svelte:24
I used the solution in https://github.com/beyonk-adventures/svelte-carousel/issues/35, it worked perfectly.