-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
domNode.elm_event_node_ref is undefined in Internet Explorer 11, Edge (early versions) #101
Comments
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
I am tracking all of the I'll close here, cleaning up the issue queue. The idea is that this content is all available for reference, but easier for me to find. Point is, thanks for the report! |
Separately, is this a problem with development builds of IE? Or is it a problem with actually released browsers? |
Reproducing bug in the latest version of IE11 11.413.15063.0 |
@cachar and I were able to work around this, and @lukewestby previously too, by separating the i.e. from: viewSomething : Html OtherMsg
viewBiggerThing : Html Msg
viewBiggerThing =
div [] [ Html.map BiggerOtherMsg viewSomething ] to: viewSomething : Html OtherMsg
viewBiggerThing : Html Msg
viewBiggerThing =
div [] [ Html.map BiggerOtherMsg <| div [] [ viewSomething ] ] |
Reproducing in IE11 and early versions of Edge. Chrome, Safari, Firefox, latest Edge not affected.
Elm 0.18
"elm-lang/core": "5.0.0 <= v < 6.0.0",
"elm-lang/dom": "1.1.1 <= v < 2.0.0",
"elm-lang/html": "2.0.0 <= v < 3.0.0",
I tried to build minimum reproduction example, but can't catch this bug.
So i can only reproduce it as a part of large project.
App stops handling events from element, because eventNode is undefined, so click event does not propagates.
Here is my research in source code
http://take.ms/hjwox
http://take.ms/ckJmn
I have no idea how to build smaller example, maybe you can help me with suggestion
UPD: Found WA with using Html.Keyed.node, maybe it can be usefull for someone. I think this makes VDOM merges less complicated.
The text was updated successfully, but these errors were encountered: