Open hsablonniere opened 2 years ago
If we choose to use the Dialog Polyfill by Google Chrome, we should also use the Extension related to focus.
As stated in the readme, placing the focus back on the element that triggered the dialog after it closes was not part of the spec and thus is not part of the Polyfill (it is now part of the spec so the native dialog is ok :+1: )
This should fix #493.
<dialog>
but for old Safari versions, we'll need a polyfill/alternative