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
Is your feature request related to a problem? Please describe.
The <dialog> element supports two ways to show its content, the first is modelessly which is the way that Doggo seems to support right now.
The second one with a modal mode that will make the dialog over the top of any other dialogs that might be present. Everything outside the dialog are inert with interactions outside the dialog being blocked.
Describe the solution you'd like
A way to show the dialog with modal mode which needs to call dialog.showModal() function (and also a way to do the same for closing it with the dialog.close() function.
Describe alternatives you've considered
I can implement this myself but I think it would be better to have built-in support in doggo since I believe that is the way most of users would want to use the dialog element.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The
<dialog>
element supports two ways to show its content, the first is modelessly which is the way that Doggo seems to support right now.The second one with a modal mode that will make the dialog over the top of any other dialogs that might be present. Everything outside the dialog are inert with interactions outside the dialog being blocked.
More info here: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement#instance_methods
Describe the solution you'd like
A way to show the dialog with modal mode which needs to call
dialog.showModal()
function (and also a way to do the same for closing it with thedialog.close()
function.Describe alternatives you've considered
I can implement this myself but I think it would be better to have built-in support in doggo since I believe that is the way most of users would want to use the
dialog
element.The text was updated successfully, but these errors were encountered: