This commit is contained in:
Ben Alpert
2016-11-23 17:31:41 -08:00
parent 7582cef180
commit ee5c1ab07e
@@ -83,9 +83,9 @@ var ReactInputSelection = {
focusNode(priorFocusedElem);
for (let i = 0; i < ancestors.length; i++) {
const ancestor = ancestors[i];
ancestor.element.scrollLeft = ancestor.left;
ancestor.element.scrollTop = ancestor.top;
const info = ancestors[i];
info.element.scrollLeft = info.left;
info.element.scrollTop = info.top;
}
}
},