MCPcopy
hub / github.com/bvaughn/react-virtualized / _handleInvalidatedGridSize

Function _handleInvalidatedGridSize

source/MultiGrid/MultiGrid.js:399–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.

Callers 1

Grid.jsFile · 0.85

Calls 2

forceUpdateMethod · 0.80
recomputeGridSizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…