From 4d442312d2f68e3859b8c446dfd99bf67fb2357c Mon Sep 17 00:00:00 2001 From: PashtetLuxoft Date: Sat, 28 Nov 2015 23:03:15 +0200 Subject: [PATCH] removed condition which was always truth and caused extra call to setScrollLeft --- src/Canvas.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Canvas.js b/src/Canvas.js index 7230e67cd0..a19ba52d29 100644 --- a/src/Canvas.js +++ b/src/Canvas.js @@ -144,9 +144,6 @@ var Canvas = React.createClass({ }, componentDidUpdate(nextProps: any) { - if (this._scroll !== {start: 0, end: 0}) { - this.setScrollLeft(this._scroll.scrollLeft); - } this.onRows(); },