elm-html5-drag-drop
elm-html5-drag-drop copied to clipboard
Map.!: given key is not an element in the map
There is an issue with the elm-compiler https://github.com/elm/compiler/issues/1817
Since my upgrade to the latest version of the package, the following line breaks by app when using --Debug
type Msg = DragDropMsg (DragDrop.Msg Int Int)
Note that it is not related to the Int
type but occurs as soon as we use the complex JsonValue
type.
I think this is the line that broke it for me: https://github.com/norpan/elm-html5-drag-drop/blame/master/src/Html5/DragDrop.elm#L113
A quick and known workaround is putting the DragDrap.elm
in your src directory and use that one instead of the one from the package
Thanks for the report! It does seem that there is little I can do about this, but I'll add it to the docs.