Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure it does. Open a modal <dialog> using <button command="show-modal">.


I could still tab behind the dialog


What dialog, the examples in the article? It doesn't have any dialogs that use `command="show-modal"`, only "show-popover".

Here's an example of "show-modal". It also has an opacity transition.

https://codepen.io/ccwilcox/pen/vEKXeER/b705840fccd607237a4e...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: