2 ms·
This could have been handled better: * Position and clip the alert box within bounds of the frame, so that it doesn't display anything that the frame couldn't
by pornel 5y ago
This could have been handled better:
* Position and clip the alert box within bounds of the frame, so that it doesn't display anything that the frame couldn't do itself.
* Don't make framed alerts steal focus, so that it also loses special behavior.
* Ideally, provide some replacement like `await alert()` so that authors can migrate with minimal changes.