svelte-carousel
svelte-carousel copied to clipboard
"ResizeObserver loop completed with undelivered notifications"
Hello, recently we started to get an error - only in Safari, not sure which versions - where the console shows "ResizeObserver loop completed with undelivered notifications."
svelte - 3.58.0 svelte-kit - 1.25.2 carousel - 1.0.25
Also when this happens, the two pages in carousel become visible at the same time, right-half of the first page, a gap / gutter and the left-half of the other page.
I'm unable to post screenshots or didn't have time to create a repro because I need to go and fix the experience promptly.
Can I please get some help?
Hey was having the same issue.
Make sure you go back to the read me and add the required vite option in the svelte.config.js. As well make sure you add the if browser check should fix your issue
<script>
import { browser } from '$app/environment';
import Carousel from "svelte-carousel";
// ...
</script>
{#if browser}
<!-- content including your carousel -->
{/if}