Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in Safari 15.3 #233

Open
shruti456 opened this issue Jul 1, 2022 · 1 comment
Open

Not working in Safari 15.3 #233

shruti456 opened this issue Jul 1, 2022 · 1 comment

Comments

@shruti456
Copy link

shruti456 commented Jul 1, 2022

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.

@t-mish
Copy link

t-mish commented Dec 16, 2022

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants