rocwang / vue-virtual-scroll-grid

A Vue 3 component that can render a list with 1000+ items as a grid in a performant way.

Home Page:https://grid.kiwiberry.nz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] `ResizeObserver loop completed with undelivered notifications` as window is resized, lags browser

grenappels opened this issue · comments

Describe the bug
I'm getting a ResizeObserver loop completed with undelivered notifications. error every time the window is resized, and there seems to be a lag spike with each occurrence of this. I have tested on macOS Safari 15.1. If I try to recreate the behavior with a vanilla grid instead of using this component, the issue goes away.

To Reproduce
Steps to reproduce the behavior:
Fortunately the error occurs even on the demo app, so if you go to https://grid.kiwiberry.nz and look in the inspector you should see this error occurring every tick that the window is being resized.

Desktop (please complete the following information):

  • OS: macOS Monterey 12.0.1
  • Browser: Safari 15.1

Screen Shot 2022-03-30 at 9 46 24 AM

Thanks for the bug report!. This is fixed in v1.4.2 .