On Thursday, September 8, 2016 at 6:50:30 PM UTC+1, OvermindDL1 wrote:
>
> It is because you should 'switch' the interface within your dialog to be 
> whatever it needs to be at the time.  It is in my opinion a design 
> consideration to prevent multiple dialogs from even being capable of 
> appearing at the same time, which often breaks sites that do that.
>
> But yeah, just inside the dialog just draw whatever type of interface is 
> appropriate at the time.
>

Ok, could try that. I suspect that it was not a deliberate design choice 
though - just something awkward about implementing dialogs?

I also notice in the Elm demo that the dialog gets hoisted out of the 
Dialog tab and placed at the top of the page, something to do with the 
limitations of the dialog polyfill. 

So instead I just recode that as hoisting out some fragment of the 
interface and placing that within this top-of-the-page dialog instead? 

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to