elm / html

Use HTML in Elm!
https://package.elm-lang.org/packages/elm/html/latest/
BSD 3-Clause "New" or "Revised" License
395 stars 99 forks source link

Reusing anchor node leaves empty href attr #211

Closed sgaston321 closed 4 years ago

sgaston321 commented 4 years ago

Problem: When an anchor node that has an href is reused by the virtualdom, it leaves an empty href attribute. This causes clicks to reload the page.

Example: https://ellie-app.com/8NNcGgTmMfpa1

sgaston321 commented 4 years ago

I'm not really sure where this goes, but I think it might belong in the virtual-dom github https://github.com/elm/virtual-dom/issues/169