diff --git a/js/notebook/src/tableDisplay/dataGrid/DataGridResize.ts b/js/notebook/src/tableDisplay/dataGrid/DataGridResize.ts index 5eecda46ae..df39112562 100644 --- a/js/notebook/src/tableDisplay/dataGrid/DataGridResize.ts +++ b/js/notebook/src/tableDisplay/dataGrid/DataGridResize.ts @@ -28,7 +28,6 @@ import {DataGridHelpers} from "./dataGridHelpers"; import {selectColumnWidth} from "./column/selectors"; import getStringSize = DataGridHelpers.getStringSize; import {ALL_TYPES} from "./dataTypes"; -import throttle = DataGridHelpers.throttle; const DEFAULT_RESIZE_SECTION_SIZE_IN_PX = 6; const DEFAULT_ROW_PADDING = 4; @@ -51,7 +50,7 @@ export class DataGridResize { this.handleMouseMove = this.handleMouseMove.bind(this); this.handleMouseUp = this.handleMouseUp.bind(this); this.fillEmptySpaceResizeFn = this.fillEmptySpaceResizeFn.bind(this); - this.fitVieport = throttle(this.fitVieport, 100, this); + this.fitVieport = this.fitVieport.bind(this); this.installMessageHook(); }