mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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) => {
|
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;
|
const homeAssistant = document.querySelector("home-assistant") as any;
|
||||||
if (
|
if (
|
||||||
homeAssistant &&
|
homeAssistant &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user