We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1c4aee commit b7054e3Copy full SHA for b7054e3
src/modules/popup/classes/popup-controller.ts
@@ -58,8 +58,11 @@ export abstract class SuiPopupController implements IPopup, OnDestroy {
58
});
59
}
60
61
- // Move the generated element to the body to avoid any positioning issues.
+ // Detach & reattach the generated component to the current application.
62
+ this._componentFactory.detachFromApplication(this._componentRef);
63
this._componentFactory.attachToApplication(this._componentRef);
64
+
65
+ // Move the generated element to the body to avoid any positioning issues.
66
this._componentFactory.moveToDocumentBody(this._componentRef);
67
68
// Attach a reference to the anchor element. We do it here because IE11 loves to complain.
0 commit comments