Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ResizeObserver loop completed with undelivered notifications" #155

Open
cannahum opened this issue Nov 8, 2023 · 1 comment
Open

"ResizeObserver loop completed with undelivered notifications" #155

cannahum opened this issue Nov 8, 2023 · 1 comment

Comments

@cannahum
Copy link

cannahum commented Nov 8, 2023

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?

@TheArctesian
Copy link

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} 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants