diff --git a/components/lib/treetable/TreeTableBodyCell.js b/components/lib/treetable/TreeTableBodyCell.js index 9b3e892f03..aca9315a23 100644 --- a/components/lib/treetable/TreeTableBodyCell.js +++ b/components/lib/treetable/TreeTableBodyCell.js @@ -56,7 +56,7 @@ export const TreeTableBodyCell = (props) => { setEditingState(false); unbindDocumentClickListener(); OverlayService.off('overlay-click', overlayEventListener.current); - overlayEventListener = null; + overlayEventListener.current = null; }, 1); };