-
Notifications
You must be signed in to change notification settings - Fork 244
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
On Firefox, shows this on console : "Error: Failed to execute 'close' on dialog..." #221
Comments
The same problem here |
I'm encountering this issue - any movement on it yet? |
Well... actually you can remove this polyfill on Firefox v >= 98 . It's what I actually I did. |
Make sure you are using the polyfill only when needed, before registering the dialog, example; if (typeof HTMLDialogElement !== "function") {
dialogPolyfill.registerDialog("your-dialog");
} This should fix any errors you are having. |
Except if the user it's using a older Firefox release (very strange, but can happen) |
This also happens in older versions of Safari, eg 12.1.2. We solved this by wrapping the call in a |
On Firefox, on the console shows this error every time that I close a dialog :
The text was updated successfully, but these errors were encountered: