Closed halohalospecial closed 10 years ago
You need to implement something like https://github.com/Raynos/virtual-hyperscript/blob/master/index.js#L54-L61 in elm-html
to work around this bug.
A check before set is needed for input text to avoid mutating the position of the cursor / caret.
Thanks Raynos :)
This is what the soft set hook is for.