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
There is something called the HTMLDialogElement (https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement). This is a native implementation of a dialog. It should be well-supported by now by all browsers. The trickiest is safari 15.4 which is not very old. But old enough?
So the challenge:
Convert all components that use a dialog to use the native HTMLDialogElement. But when it's not supported, load a fallback. Maybe there are polyfills for this? (your google is as good as mine).
There is something called the HTMLDialogElement (https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement). This is a native implementation of a dialog. It should be well-supported by now by all browsers. The trickiest is safari 15.4 which is not very old. But old enough?
So the challenge:
Convert all components that use a dialog to use the native HTMLDialogElement. But when it's not supported, load a fallback. Maybe there are polyfills for this? (your google is as good as mine).
Some resources:
https://www.scottohara.me/blog/2019/03/05/open-dialog.html
The text was updated successfully, but these errors were encountered: