svelte-carousel icon indicating copy to clipboard operation
svelte-carousel copied to clipboard

Carousel Crashes randomly on Navigation.

Open michaelcuneo opened this issue 3 years ago • 1 comments

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

michaelcuneo avatar Nov 30 '20 01:11 michaelcuneo

I used the solution in https://github.com/beyonk-adventures/svelte-carousel/issues/35, it worked perfectly.

ekafyi avatar Dec 07 '20 08:12 ekafyi