diff --git a/packages/core/src/lazyLoad.ts b/packages/core/src/lazyLoad.ts index 0d721c7..fae049e 100644 --- a/packages/core/src/lazyLoad.ts +++ b/packages/core/src/lazyLoad.ts @@ -201,7 +201,7 @@ function updateSizesAttribute( if (options?.updateOnResize) { if (!resizeElementStore.has(element)) { - const debounceResize = debounce(() => updateSizesAttribute(element), 500) + const debounceResize = debounce(() => updateSizesAttribute(element), 200) const observerInstance = new ResizeObserver(debounceResize) resizeElementStore.set(element, observerInstance) observerInstance.observe(element)