
Sign up to save your podcasts
Or


Quick post on closedBy="any", a declarative way to add light-dismiss to a dialog:
And just like that, tapping or clicking outside the dialog will close it.
Here's the browser support:
Or a bit-o-js to get you started:
You should write one!
I'm writing this because I haven't seen enough folks using it or talking about it. Pretty nifty feature if ya ask me. So I'll make a 10m post.
If you want more
goodness, I wrote a fun post about how to make nice dialogs cuz the defaults are so poopy. Check it out and have a dialog.Also checkout the Dialog Starter notebook!
By Quick post on closedBy="any", a declarative way to add light-dismiss to a dialog:
And just like that, tapping or clicking outside the dialog will close it.
Here's the browser support:
Or a bit-o-js to get you started:
You should write one!
I'm writing this because I haven't seen enough folks using it or talking about it. Pretty nifty feature if ya ask me. So I'll make a 10m post.
If you want more
goodness, I wrote a fun post about how to make nice dialogs cuz the defaults are so poopy. Check it out and have a dialog.Also checkout the Dialog Starter notebook!