Skip to content

Commit

Permalink
[cleanup] remove now-unnecessary cell close popover check
Browse files Browse the repository at this point in the history
- thanks to the moved anchor behavior, we no longer need this, and it's actually messing up other UX
  • Loading branch information
cee-chen committed Nov 23, 2023
1 parent 88cb79c commit 9ae02c4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/datagrid/body/data_grid_cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
};

Expand Down

0 comments on commit 9ae02c4

Please sign in to comment.