I'm having this issue with Safari 10.0.3 on macOS 10.12.3. I tried Firefox and Chrome and couldn't reproduce it. I'm using virtual-dom@2.1.1.
I'm trying to render an <input> with autocompletion. I listen to keypress events on it to get the value. The issue I'm facing occurs when I update the value of the <input> from '' to some non-empty string.
I'm having this issue with Safari
10.0.3
on macOS10.12.3
. I tried Firefox and Chrome and couldn't reproduce it. I'm usingvirtual-dom@2.1.1
.I'm trying to render an
<input>
with autocompletion. I listen tokeypress
events on it to get the value. The issue I'm facing occurs when I update thevalue
of the<input>
from''
to some non-empty string.The (expected) result in Chrome:
The (unexpected) result in Safari:
I haven't dug into the virtual-dom patching logic, so I can't tell if this is a bug in Safari or in virtual-dom. Thanks for helping out!