diff --git a/src/editorManager/useEditorManager.tsx b/src/editorManager/useEditorManager.tsx index 5a99012..9cf86c4 100644 --- a/src/editorManager/useEditorManager.tsx +++ b/src/editorManager/useEditorManager.tsx @@ -105,7 +105,7 @@ export function useEditorManager({ onCellChange, apiRef }: EditorManagerProps) { return setEditorNode(null) } - if (valueEqual(newValue, editorState.initialValue)) { + if (!valueEqual(newValue, editorState.initialValue)) { const row = apiRef.current.getRowAt(editorState.rowIndex) const column = apiRef.current.getColumnAt(editorState.colIndex) if (!row) {