diff --git a/packages/xl-multi-column/src/extensions/ColumnResize/ColumnResizeExtension.ts b/packages/xl-multi-column/src/extensions/ColumnResize/ColumnResizeExtension.ts index aed630092..34ed9b1c2 100644 --- a/packages/xl-multi-column/src/extensions/ColumnResize/ColumnResizeExtension.ts +++ b/packages/xl-multi-column/src/extensions/ColumnResize/ColumnResizeExtension.ts @@ -56,6 +56,10 @@ class ColumnResizePluginView implements PluginView { getColumnHoverOrDefaultState = ( event: MouseEvent ): ColumnDefaultState | ColumnHoverState => { + if (!this.editor.isEditable) { + return { type: "default" }; + } + const target = event.target as HTMLElement; // Do nothing if the event target is outside the editor.