@brightspace-ui/core 2.176.2 → 2.176.3

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.
@@ -554,6 +554,8 @@ export const HierarchicalViewMixin = superclass => class extends superclass {
554
554
 
555
555
  __startResizeObserver() {
556
556
  const content = this.shadowRoot.querySelector('.d2l-hierarchical-view-content');
557
+ if (!content) return;
558
+
557
559
  this.__bound_dispatchViewResize = this.__bound_dispatchViewResize || this.__dispatchViewResize.bind(this);
558
560
  this.__resizeObserver = this.__resizeObserver || new ResizeObserver(this.__bound_dispatchViewResize);
559
561
  this.__resizeObserver.disconnect();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.176.2",
3
+ "version": "2.176.3",
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",