@wizishop/angular-components 15.1.134 → 15.1.136

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.
@@ -4599,13 +4599,13 @@ class AlertPopupComponent {
4599
4599
  this.afterClosedPopup = new Subject();
4600
4600
  this.open = false;
4601
4601
  }
4602
- ngOnInit() {
4602
+ ngAfterViewInit() {
4603
4603
  setTimeout(() => {
4604
4604
  this.open = true;
4605
- }, 50);
4606
- if (this.config.duration > 0) {
4607
- this.timer = setTimeout(() => this.dismiss(), this.config.duration);
4608
- }
4605
+ if (this.config.duration > 0) {
4606
+ this.timer = setTimeout(() => this.dismiss(), this.config.duration);
4607
+ }
4608
+ }, 700);
4609
4609
  }
4610
4610
  dismiss() {
4611
4611
  this.open = false;