|
|
|
|
|
by lelanthran
443 days ago
|
|
> Even when they do arrive, they can be half baked - like dialog or details / summary - and that doesn’t help matters How are those half-baked? No smooth transition for details/summary, maybe? Dialog seems to work well enough with little to no javascript required: <dialog>
<h3>Warning:</h3>
...
<button onclick='this.closest("dialog").close()'>Dismiss</button>
</dialog>
My personal bugbear is the date/time input - FF doesn't even show a click element for time, you have to type in the time. |
|
Forms have some special quirks inside of a dialog.
The biggest thing though, is for the life of me I don't understand why you can't open and close a dialog without JavaScript. There's no way to do it.