From 6a87e34a1d3f0fba78a421801eee7d620a4e9c8e Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Mon, 23 May 2022 22:31:42 -0500 Subject: [PATCH] Make Context mutation observers ignore attributes I can't find any edge cases where this would really be useful, and it prevents a _lot_ of false node updates --- src/components/Context.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Context.vue b/src/components/Context.vue index 2db079c..89c71ae 100644 --- a/src/components/Context.vue +++ b/src/components/Context.vue @@ -46,7 +46,7 @@ function updateBounds() { document.fonts.ready.then(updateBounds); const observerOptions = { - attributes: true, + attributes: false, childList: true, subtree: false };