Closed amilner42 closed 7 years ago
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.
(Issue closed to be moved to elm-lang/html
)
Problem
This bug is very easy to recreate and observe, I made a very basic ellie here
Long story short, here is what happens step-by-step:
a
element with no href, likea [] []
, it can't be clicked.a
with anhref
like:a [ href "https://google.com" ] []
a
and go to google.a
with nohref
, but now instead of having the originala [] []
(which is what we expect) we get the following html:<a href="">no href</a>
. This is obviously problematic.Workaround
Html.keyed
and use dif keys, this will force a total reset.