@bizy/core 19.11.2 → 19.11.3

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.
@@ -4628,9 +4628,9 @@ class BizyPopupService {
4628
4628
  dialogRef = Array.from(BizyPopupService.dialogs).pop();
4629
4629
  }
4630
4630
  if (dialogRef) {
4631
- if (dialogRef.componentInstance instanceof BizyFullScreenPopupWrapperComponent) {
4632
- const nativeElement = dialogRef.overlayRef.overlayElement;
4633
- await this.#animation.setAnimation(nativeElement.children[1].firstChild, BIZY_ANIMATION.SLIDE_OUT_DOWN);
4631
+ if (dialogRef.componentInstance instanceof BizyFullScreenPopupWrapperComponent && dialogRef.overlayRef && dialogRef.overlayRef.overlayElement) {
4632
+ const nativeElement = dialogRef.overlayRef.overlayElement.querySelector('bizy-full-screen-popup-wrapper');
4633
+ await this.#animation.setAnimation(nativeElement, BIZY_ANIMATION.SLIDE_OUT_DOWN);
4634
4634
  }
4635
4635
  dialogRef.close(data ? data.response : null);
4636
4636
  BizyPopupService.dialogs.delete(dialogRef);