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

I have warning "ResizeObserver loop limit exceeded" #699

Closed
kambie10 opened this issue Jun 29, 2022 · 4 comments
Closed

I have warning "ResizeObserver loop limit exceeded" #699

kambie10 opened this issue Jun 29, 2022 · 4 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@kambie10
Copy link

kambie10 commented Jun 29, 2022

Screen Shot 2022-06-29 at 21 25 27
i have warning "service call failed, ResizeObserver loop limit exceeded"

flow code :

<VirtuosoGrid
   style={{ height: '100%' }}
   totalCount={total}
   overscan={20}
   components={{
      List: ListContainer,
    }}
    itemContent={renderBanner}
    scrollSeekConfiguration={{
     enter: (velocity) => Math.abs(velocity) > 200,
     exit: (velocity) => Math.abs(velocity) < 30,
     }}
  />

you have a solution, fix this warning ?

"react-virtuoso": "^2.16.0"
"react" : "17.0.2"

@kambie10 kambie10 added the bug Something isn't working label Jun 29, 2022
@petyosi
Copy link
Owner

petyosi commented Jun 29, 2022

#254 (comment) see this.

@petyosi petyosi closed this as not planned Won't fix, can't repro, duplicate, stale Jun 29, 2022
@petyosi petyosi added the duplicate This issue or pull request already exists label Jun 29, 2022
@zlargon
Copy link

zlargon commented Oct 28, 2022

Does this warning cause any real issue? I'm just curious.

@LiomSV
Copy link

LiomSV commented May 26, 2023

@petyosi Are there any plans to fix the issue?

I saw a workaround you've mentioned in another issue.

But the workaround doesn't fit for Safari. The suggested approach mutes the errors and it relies on error's message, but Safari emits error with general message: "Script error." It seems that many other errors might be skipped muting such general error.

@petyosi
Copy link
Owner

petyosi commented May 26, 2023

@LiomSV I am not aware of a way to avoid that without damaging the performance of the component. feel free to explore what I did, reverted, and suggest a possible workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants