Unhandled Promise rejection: Cannot read properties of undefined (reading 'length') #16
Open
2 tasks done
Labels
bug
Something isn't working
Checks
Version
0.2.9
Description
When I opened my console I saw the following error, although it was difficult to debug I found it. In the code snippet I posted below prevSlides is undefined, which is why we get the length error.
https://github.com/Splidejs/svelte-splide/blob/master/src/lib/components/Splide/Splide.svelte#L114
There is a situation where afterUpdate is also working while onMount is working. By the way, we have fixed slides.
Reproduction Link
No response
Steps to Reproduce
The text was updated successfully, but these errors were encountered: