myrta-ui 13.0.5 → 13.0.6

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.
@@ -1934,6 +1934,11 @@ class PopupTriggerDirective {
1934
1934
  const templatePortal = new TemplatePortal(this.popupPanel.templateRef, this.viewContainerRef);
1935
1935
  this._overlayRef.attach(templatePortal);
1936
1936
  this.popupPanel.toggle.emit(true);
1937
+ setTimeout(() => {
1938
+ if (this._overlayRef) {
1939
+ this._overlayRef.updatePosition();
1940
+ }
1941
+ }, 0);
1937
1942
  this._subscriberDetach$ = this._overlayRef.detachments().subscribe(_ => {
1938
1943
  this._isDropdownOpen = false;
1939
1944
  this.popupPanel.toggle.emit(false);