mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 05:17:20 +00:00
Ignore ResizeObserver loop limit exceeded error (#5838)
This commit is contained in:
parent
f85cf0a238
commit
96ab057853
@ -104,6 +104,11 @@ window.hassConnection.then(({ conn }) => {
|
||||
});
|
||||
|
||||
window.addEventListener("error", (e) => {
|
||||
if (!__DEV__ && e.message === "ResizeObserver loop limit exceeded") {
|
||||
e.stopImmediatePropagation();
|
||||
e.stopPropagation();
|
||||
return;
|
||||
}
|
||||
const homeAssistant = document.querySelector("home-assistant") as any;
|
||||
if (
|
||||
homeAssistant &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user