@inappstory/slide-api 0.1.21 → 0.1.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.
package/dist/index.cjs CHANGED
@@ -19929,6 +19929,9 @@ class WidgetTooltip extends WidgetBase {
19929
19929
  const tooltipGeometry = this.tooltipElement?.parentElement;
19930
19930
  const triggerGeometry = this.triggerElement?.parentElement;
19931
19931
  if (tooltipGeometry != null && triggerGeometry != null) {
19932
+ if (!this.disableTimer) {
19933
+ this.onWidgetRequirePauseUI();
19934
+ }
19932
19935
  this.computePositionForTooltip(this.getBox(triggerGeometry), this.getBox(tooltipGeometry));
19933
19936
  addClass(tooltipGeometry, "popper__popper--shown");
19934
19937
  this.env.requestAnimationFrame(() => {
@@ -19939,6 +19942,9 @@ class WidgetTooltip extends WidgetBase {
19939
19942
  this._statEventWidgetClick();
19940
19943
  }
19941
19944
  closeTooltip() {
19945
+ if (!this.disableTimer) {
19946
+ this.onWidgetRequireResumeUI();
19947
+ }
19942
19948
  const tooltipGeometry = this.tooltipElement?.parentElement;
19943
19949
  if (tooltipGeometry != null) {
19944
19950
  addClass(tooltipGeometry, "popper__popper--hidden");