3 ms·
Why aren't you just using the built-in dialog element that already handles this?
by dbbk 1y ago
Why aren't you just using the built-in dialog element that already handles this?
- hunvreus 1y ago<dialog> is kind of a PITA to style (backdrop, transitions, etc), and doesn't really solve any of the tough problems with dialogs (e.g. locking scrolling). I tried really hard to use <dialog> and popover but didn't succeed. Maybe somebody more skilled can make it happen.