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

wrap handler for resize observer in requestAnimationFrame() #183325

Conversation

kfrederix
Copy link
Contributor

Wrapping the ResizeObserver callback in requestAnimationFrame() should avoid the "loop limit exceeded" error which pops up under certain circumstances.

(fixes #183324)

@alexdima alexdima added this to the August 2023 milestone Jul 27, 2023
@kfrederix
Copy link
Contributor Author

@microsoft-github-policy-service agree

@kfrederix
Copy link
Contributor Author

@alexdima thank you for taking care of this!! 🙏

@kfrederix
Copy link
Contributor Author

@alexdima I see that we have enough approvals. Is it ok to close this PR?

@alexdima alexdima merged commit 9293e05 into microsoft:main Aug 31, 2023
9 checks passed
@simonh1000
Copy link

simonh1000 commented Sep 12, 2023

Is this fix being added to Monaco - that's where I need it and 0.43 continues to exhibit this bug

@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error "ResizeObserver loop limit exceeded" when using monaco editor with automaticLayout option
6 participants