@ts-core/angular 13.1.28 → 13.1.29

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.
@@ -1960,8 +1960,11 @@ class ResizeManager {
1960
1960
  this.element = ViewUtil.parseElement(element);
1961
1961
  this.subject = new BehaviorSubject({ width: ViewUtil.getWidth(this.element), height: ViewUtil.getHeight(this.element) });
1962
1962
  // this.sensor = new ResizeSensor(this.element, this.handler);
1963
- this.sensor = new ResizeObserver(this.handler2);
1964
- this.sensor.observe(this.element);
1963
+ try {
1964
+ this.sensor = new ResizeObserver(this.handler2);
1965
+ this.sensor.observe(this.element);
1966
+ }
1967
+ catch (error) { }
1965
1968
  }
1966
1969
  // --------------------------------------------------------------------------
1967
1970
  //