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
I tried to call dialog.showModal() and set the style pointer-events: none to the dialog but it doesn't work, the content behind the dialog is still unclickable, is this a technical flaw or intentional?
The text was updated successfully, but these errors were encountered:
This is intentional the dialog inerts the rest of the page when it's a modal. If you don't want a modal then you should use popover instead (you can do <dialog popover>).
This is intentional the dialog inerts the rest of the page when it's a modal. If you don't want a modal then you should use popover instead (you can do ).
Thanks for your reply, I thought that dialog and popover are the same and can be substituted for each other, with dialog having better browser compatibility.
I tried to call
dialog.showModal()
and set the stylepointer-events: none
to the dialog but it doesn't work, the content behind the dialog is still unclickable, is this a technical flaw or intentional?The text was updated successfully, but these errors were encountered: