Hacker News new | ask | show | jobs
by AlienRobot 559 days ago
>Last year the major web browser vendors decided to change the standard (remember, HTML is now a "living standard")

SIGH...

To be honest, I think it's unlikely you will ever try to open the same dialog modally twice. If you need user input to open the dialog, and a modal dialog blocks user input, the only way for this to happen is if you have an input on the dialog that opens the dialog. If you are using asynchronous tasks to open the dialog, then you probably should keep track of what is open and what is not.

The same thing would happen if you were doing it on Qt, for example.

1 comments

> To be honest, I think it's unlikely you will ever try to open the same dialog modally twice.

This is a strange reaction to the blog post, because as you read, it's a certainty that my code did try to open the same dialog modally twice. This was a bug, of course, which would have been revealed in development if not for the change in the standard.