mdgriffith / design-discussion-elm-ui-2

A repo for discussing changes to Elm UI 2
17 stars 0 forks source link

Build on native <dialog> element to provide modals #23

Open jhbrown-veradept opened 2 years ago

jhbrown-veradept commented 2 years ago

Modals are hard to do right -- keeping tabbing in the modal, etc. requires a lot of finicky work. The native

element resolves most of this. It would be great to have native support for it in Elm-UI.

Suggestion inspired by @lindsaykwardell’s blog post https://www.lindsaykwardell.com/blog/native-dialog-in-elm/

erlandsona commented 2 years ago

2nded ^