-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
ResizeObserver loop completed with undelivered notifications. #7431
Comments
Hi, I faced the very same problem. I added this code to the beginning of my app.vue and the error hasn't come back since then: //Stop error resizeObserver const _ = (window as any).ResizeObserver; This code ensures that when a ResizeObserver is created, the provided callback function is debounced with a 20ms delay. This debouncing can help in handling and preventing excessive calls to the callback, especially in scenarios where the ResizeObserver can be triggered frequently. Roman |
I tried it again, Google is Ok, Edge exists |
Found simple solution here
|
romanagh solution is better because it solves the issue by correcting the error, while moabtools' one simply hides it (and all other runtime issues displayed on the overlay, by the way). |
Here's another possible solution, which is similar to @moabtools, but only disables specific errors:
|
I've fixed this problem like this: `import { ResizeObserver } from '@juggle/resize-observer'; const ro = new ResizeObserver((entries, observer) => { // Listen for errors // Observe the body |
@romanagh |
Version
5.0.8
Reproduction link
github.com
Environment info
Steps to reproduce
Step1
Step2
Step3
Press the
ESC
key on your keyboard。Display error message
Replenishment
It seems likely that it will appear after each page refresh
What is expected?
nothing
What is actually happening?
Uncaught runtime errors:
ERROR
ResizeObserver loop completed with undelivered notifications.
at handleError (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:299:58)
at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:318:7)
Step1:vue create xxx
Step2:installation...
Step3::npm run serve
Finally, all the pages are accessed normally。
Well, when I press the "Esc " key on the keyboard, the following exception is thrown:
Uncaught runtime errors:
ERROR
ResizeObserver loop completed with undelivered notifications.
at handleError (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:299:58)
at eval (webpack-internal:///./node_modules/webpack-dev-server/client/overlay.js:318:7)
The text was updated successfully, but these errors were encountered: