@vectojs/core 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -549,6 +549,11 @@ var Scene = (_class2 = class _Scene {
|
|
|
549
549
|
this.activePortalsThisFrame.delete(node.id);
|
|
550
550
|
this.activePortalsPrevFrame.delete(node.id);
|
|
551
551
|
}
|
|
552
|
+
const contentEl = this.contentElements.get(node.id);
|
|
553
|
+
if (contentEl) {
|
|
554
|
+
contentEl.remove();
|
|
555
|
+
this.contentElements.delete(node.id);
|
|
556
|
+
}
|
|
552
557
|
const el = this.a11yElements.get(node.id);
|
|
553
558
|
if (el) {
|
|
554
559
|
if (el === this.focusedA11yElement) {
|
|
@@ -588,11 +593,6 @@ var Scene = (_class2 = class _Scene {
|
|
|
588
593
|
* @param entity - The subtree whose shadow nodes should be removed.
|
|
589
594
|
*/
|
|
590
595
|
detachA11y(entity) {
|
|
591
|
-
const contentEl = this.contentElements.get(entity.id);
|
|
592
|
-
if (contentEl) {
|
|
593
|
-
contentEl.remove();
|
|
594
|
-
this.contentElements.delete(entity.id);
|
|
595
|
-
}
|
|
596
596
|
this.removeA11yRecursively(entity);
|
|
597
597
|
}
|
|
598
598
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -549,6 +549,11 @@ var Scene = class _Scene {
|
|
|
549
549
|
this.activePortalsThisFrame.delete(node.id);
|
|
550
550
|
this.activePortalsPrevFrame.delete(node.id);
|
|
551
551
|
}
|
|
552
|
+
const contentEl = this.contentElements.get(node.id);
|
|
553
|
+
if (contentEl) {
|
|
554
|
+
contentEl.remove();
|
|
555
|
+
this.contentElements.delete(node.id);
|
|
556
|
+
}
|
|
552
557
|
const el = this.a11yElements.get(node.id);
|
|
553
558
|
if (el) {
|
|
554
559
|
if (el === this.focusedA11yElement) {
|
|
@@ -588,11 +593,6 @@ var Scene = class _Scene {
|
|
|
588
593
|
* @param entity - The subtree whose shadow nodes should be removed.
|
|
589
594
|
*/
|
|
590
595
|
detachA11y(entity) {
|
|
591
|
-
const contentEl = this.contentElements.get(entity.id);
|
|
592
|
-
if (contentEl) {
|
|
593
|
-
contentEl.remove();
|
|
594
|
-
this.contentElements.delete(entity.id);
|
|
595
|
-
}
|
|
596
596
|
this.removeA11yRecursively(entity);
|
|
597
597
|
}
|
|
598
598
|
/**
|