From 9ae02c4e40b2cd3d274266bbb00c4c5a40dc6760 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Thu, 23 Nov 2023 12:11:13 -0800 Subject: [PATCH] [cleanup] remove now-unnecessary cell close popover check - thanks to the moved anchor behavior, we no longer need this, and it's actually messing up other UX --- src/components/datagrid/body/data_grid_cell.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/datagrid/body/data_grid_cell.tsx b/src/components/datagrid/body/data_grid_cell.tsx index 0021a8cfc2f..61ad48987c0 100644 --- a/src/components/datagrid/body/data_grid_cell.tsx +++ b/src/components/datagrid/body/data_grid_cell.tsx @@ -457,10 +457,6 @@ export class EuiDataGridCell extends Component< this.setState({ disableCellTabIndex: true }); } }, 0); - // Close the cell popover if the popover was open and the user clicked the cell - if (this.props.popoverContext.popoverIsOpen) { - this.props.popoverContext.closeCellPopover(); - } } };