()
| 397 | } |
| 398 | |
| 399 | _handleInvalidatedGridSize() { |
| 400 | if (typeof this._deferredInvalidateColumnIndex === 'number') { |
| 401 | const columnIndex = this._deferredInvalidateColumnIndex; |
| 402 | const rowIndex = this._deferredInvalidateRowIndex; |
| 403 | |
| 404 | this._deferredInvalidateColumnIndex = null; |
| 405 | this._deferredInvalidateRowIndex = null; |
| 406 | |
| 407 | this.recomputeGridSize({ |
| 408 | columnIndex, |
| 409 | rowIndex, |
| 410 | }); |
| 411 | this.forceUpdate(); |
| 412 | } |
| 413 | } |
| 414 | |
| 415 | /** |
| 416 | * Avoid recreating inline styles each render; this bypasses Grid's shallowCompare. |
no test coverage detected
searching dependent graphs…