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';