openPopup is not opening a popup or displaying any error messages when using inside virtual component. Anyone experiencing this issue.
I am using this code to render a popup:
let popUpContent = document.createElement('img');
popUpContent.classList.add("popup");
popUpContent.src="https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg"
let popUpOptions: any = {
closeOnOutsideClick: false,
content: popUpContent,
name: 'imgPopup',
type: 1,
popupStyle: {}
};
this._popUpService.createPopup(popUpOptions);
this._popUpService.openPopup('imgPopup');

Report
All responses (
Answers (