This commit is contained in:
Ben Alpert committed 2016-11-23 17:31:41 -08:00
1 parent c5b6601536
commit 13cb540bda
1 file changed
+3 -3
@@ -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;
}
}
},