Fix lint error

This commit is contained in:
David
2019-03-01 12:58:09 +01:00
parent cdf8454869
commit ebdb13141b
+3 -1
View File
@@ -464,7 +464,9 @@ export default function createListComponent({
isScrolling: true,
scrollDirection:
prevState.scrollOffset < scrollLeft ? 'forward' : 'backward',
scrollOffset: isRtl ? scrollWidth - clientWidth - scrollLeft : scrollLeft,
scrollOffset: isRtl
? scrollWidth - clientWidth - scrollLeft
: scrollLeft,
scrollUpdateWasRequested: false,
};
}, this._resetIsScrollingDebounced);