elm-html5-drag-drop icon indicating copy to clipboard operation
elm-html5-drag-drop copied to clipboard

Map.!: given key is not an element in the map

Open janwirth opened this issue 6 years ago • 1 comments

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

janwirth avatar Nov 28 '18 14:11 janwirth

Thanks for the report! It does seem that there is little I can do about this, but I'll add it to the docs.

norpan avatar Nov 29 '18 15:11 norpan