function Section(_ref) {
    var height = _ref.height,
        width = _ref.width,
        x = _ref.x,
        y = _ref.y;

    _babel_runtime_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default()(this, Section);

    this.height = height;
    this.width = width;
    this.x = x;
    this.y = y;
    this._indexMap = {};
    this._indices = [];
  }
This method updates scrollLeft/scrollTop in state for the following conditions:
1) Empty content (0 rows or columns)
2) New scroll props overriding the current state
3) Cells-count or cells-size has changed, making previous scroll offsets invalid