#691 sync input if user-set DOM value

This commit is contained in:
Leo Horie 2016-05-05 13:12:36 -04:00
parent f7ceac193b
commit db17958f0b

View file

@ -1090,7 +1090,7 @@
tag,
namespace
) {
if (!(attrName in cachedAttrs) || (cachedAttr !== dataAttr)) {
if (!(attrName in cachedAttrs) || (cachedAttr !== dataAttr) || ($document.activeElement === node)) {
cachedAttrs[attrName] = dataAttr
try {
return setSingleAttr(