@kirbydesign/designsystem 5.0.21 → 5.0.22

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.
@@ -9033,16 +9033,8 @@
9033
9033
  };
9034
9034
  FitHeadingDirective.prototype.observeResize = function () {
9035
9035
  var _this = this;
9036
- this.resizeObserverService.observe(this.elementRef, function (entry) {
9037
- // We wrap it in requestAnimationFrame to avoid this error
9038
- // - ResizeObserver loop limit exceeded
9039
- // For more information @see(https://stackoverflow.com/questions/49384120/resizeobserver-loop-limit-exceeded)
9040
- window.requestAnimationFrame(function () {
9041
- if (!Array.isArray(entry) || !entry.length) {
9042
- return;
9043
- }
9044
- _this.scaleHeader();
9045
- });
9036
+ this.resizeObserverService.observe(this.elementRef, function () {
9037
+ _this.scaleHeader();
9046
9038
  });
9047
9039
  };
9048
9040
  FitHeadingDirective.prototype.scaleHeader = function () {