@seamly/web-ui 23.0.5 → 23.0.6-alpha.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.
@@ -910,7 +910,7 @@ class API {
910
910
  return {
911
911
  clientName: "@seamly/web-ui",
912
912
  clientVariant: this.#layoutMode,
913
- clientVersion: "23.0.5",
913
+ clientVersion: "23.0.6-alpha.1",
914
914
  currentUrl: window.location.toString(),
915
915
  screenResolution: `${window.screen.width}x${window.screen.height}`,
916
916
  timezone: getTimeZone(),
@@ -4818,6 +4818,7 @@ class ExternalApi {
4818
4818
  constructor(appConfig) {
4819
4819
  this._waitingActions = [];
4820
4820
  this._instances = {};
4821
+ this._timeoutId = undefined;
4821
4822
  this.appConfig = appConfig;
4822
4823
  this.context = {};
4823
4824
  }
@@ -4927,7 +4928,10 @@ class ExternalApi {
4927
4928
  this._instances[config.namespace] = instance;
4928
4929
  // Clear the context after creating the instance, so we do not reuse it for the next
4929
4930
  this.context = {};
4930
- instance.render();
4931
+ window.clearTimeout(this._timeoutId);
4932
+ this._timeoutId = window.setTimeout(() => {
4933
+ instance.render();
4934
+ }, 60);
4931
4935
  }
4932
4936
  }
4933
4937
  handleDestroy(actionObj) {