Merge pull request #71 from garth/input-value

Fix cursor jumping to the end of "controlled" inputs
gh-pages
Simon Friis Vindum 9 years ago
commit 3036e503a7

@ -9,7 +9,7 @@ function updateProps(oldVnode, vnode) {
for (key in props) { for (key in props) {
cur = props[key]; cur = props[key];
old = oldProps[key]; old = oldProps[key];
if (old !== cur) { if (old !== cur && (key !== 'value' || elm[key] !== cur)) {
elm[key] = cur; elm[key] = cur;
} }
} }

Loading…
Cancel
Save