| 108 | |
| 109 | // HACK This method signature was intended for Grid |
| 110 | invalidateCellSizeAfterRender({rowIndex: index}) { |
| 111 | if (this._invalidateOnUpdateStartIndex === null) { |
| 112 | this._invalidateOnUpdateStartIndex = index; |
| 113 | this._invalidateOnUpdateStopIndex = index; |
| 114 | } else { |
| 115 | this._invalidateOnUpdateStartIndex = Math.min( |
| 116 | this._invalidateOnUpdateStartIndex, |
| 117 | index, |
| 118 | ); |
| 119 | this._invalidateOnUpdateStopIndex = Math.max( |
| 120 | this._invalidateOnUpdateStopIndex, |
| 121 | index, |
| 122 | ); |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | recomputeCellPositions() { |
| 127 | const stopIndex = this._positionCache.count - 1; |