You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't give this polyfill a try as the author did, but I know that the same behavior is actual a for normal dialog. Hence, it seems that polyfill just recognizes Safari 15.3 as supporrting browser (which is not true)?
I am using it in Angular project and the code snippet looks like this
import dialogPolyfill from 'dialog-polyfill';
if (this.dialogBox) {
dialogPolyfill.registerDialog(this.dialogBox.nativeElement);
this.dialogBox.nativeElement.showModal();
}
The dialog is rendered on the normal page and not as a modal window
Please help me understand what is missing.
The text was updated successfully, but these errors were encountered: