We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sentry Issue: STUDIO-DESKTOP-20
Error: ResizeObserver loop limit exceeded at None (/docs-preview/gh/stoplightio/studio)
ResizeObserver is being in Elements by @rehooks/component-size: https://github.com/stoplightio/elements/blob/master/src/components/Docs.tsx#L4
Description
Here's a similar issue in a library that is also using ResizeObserver: souporserious/react-measure#104. They fixed the issue by canceling the animation frame when the component is unmounted: https://github.com/souporserious/react-measure/pull/118/files#diff-2e71677d1028fc71469e53aa449f42d5R41
Expected
To fix the issue, we likely need to fork the @rehooks/component-size repo, wrap the following lines in a requestAnimationFrame and cancel the animation when the component is unmounted: https://github.com/rehooks/component-size/blob/master/index.js#L49-L52
requestAnimationFrame
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 3.10.6 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
lottamus
Successfully merging a pull request may close this issue.
Sentry Issue: STUDIO-DESKTOP-20
ResizeObserver is being in Elements by @rehooks/component-size: https://github.com/stoplightio/elements/blob/master/src/components/Docs.tsx#L4
Description
Here's a similar issue in a library that is also using ResizeObserver: souporserious/react-measure#104. They fixed the issue by canceling the animation frame when the component is unmounted: https://github.com/souporserious/react-measure/pull/118/files#diff-2e71677d1028fc71469e53aa449f42d5R41
Expected
To fix the issue, we likely need to fork the @rehooks/component-size repo, wrap the following lines in a
requestAnimationFrame
and cancel the animation when the component is unmounted:https://github.com/rehooks/component-size/blob/master/index.js#L49-L52
The text was updated successfully, but these errors were encountered: