From 6c7f9ac215be5a5ec4ee146b6a4a5bc1a1d36ead Mon Sep 17 00:00:00 2001 From: Scott Vorthmann Date: Sun, 17 Mar 2024 17:17:08 -0700 Subject: [PATCH] Labels are now isolated, so always behind the context menu --- online/src/viewer/labels.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/online/src/viewer/labels.jsx b/online/src/viewer/labels.jsx index 0b333405a..62eff58f5 100644 --- a/online/src/viewer/labels.jsx +++ b/online/src/viewer/labels.jsx @@ -12,6 +12,7 @@ export const Labels = (props) => onMount( () => { labelRenderer = new CSS2DRenderer(); const labelsElem = labelRenderer.domElement; + labelsElem.style.isolation = 'isolate'; labelsElem.style.position = 'absolute'; labelsElem.style.pointerEvents = 'none'; labelsElem.style.inset = '0px';