Hi Richard, 

I experienced similar thing, and in my case, it seems to have to do with 
nested use of `Html.App.map`: https://github.com/elm-lang/html/issues/16.

Cheers,

Søren

On Saturday, May 14, 2016 at 9:24:06 PM UTC+2, Richard Osafo wrote:
>
> Hi Martin,
> After much trial and error, I got it to work by embedding my view in 
> another div. Still not sure what the problem was though but at least I can 
> go on.
>
> This fails
>
> let
>   viewFn =
>     \ctx m -> component.view ctx m -- or just component.view
>
>
> This works
>
> let
>   viewFn =
>     \ctx m -> div [] [ component.view ctx m ]
>
>
> regards,
> Richard.
>

-- 
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