@brightspace-ui/core 2.85.7 → 2.85.8

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.
@@ -125,6 +125,11 @@ export const HierarchicalViewMixin = superclass => class extends superclass {
125
125
  }
126
126
 
127
127
  requestAnimationFrame(() => {
128
+ /* If the view was disconnected before this could run, just bail. There can be some
129
+ odd race conditions with d2l-overflow-group where this can happen and results in
130
+ JavaScript errors finding the root view. */
131
+ if (!this.isConnected) return;
132
+
128
133
  if (typeof(IntersectionObserver) !== 'function') {
129
134
  this.__autoSize(this);
130
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.85.7",
3
+ "version": "2.85.8",
4
4
  "description": "A collection of accessible, free, open-source web components for building Brightspace applications",
5
5
  "type": "module",
6
6
  "repository": "https://github.com/BrightspaceUI/core.git",