title: Ag-grid: How disable cell click event when enableCellTextSelection is used and text is selected?
body: <p>Using ag-Grid Community and Angular, I set <a href="https://www.ag-grid.com/javascript-grid-properties/#clipboard" rel="nofollow noreferrer"><code>[enableCellTextSelection]=&quot;true&quot;</code></a> to enable cell text selection to facilitate copy-paste, but I found that the <code>cellClicked</code> event still fires when text is selected and the mouse button is released (<em>i.e.</em> the mouse is clicked, dragged and released in the same cell).</p>
  <p>Is there a way to detect that text is selected in the <code>cellClicked</code> event and &quot;cancel / quick exit&quot; it?</p>
  <p>I looked for a way to distinguish between the mouse down and mouse up coordinates but couldn't find anything...</p>
  <p>Thanks.</p>
  <hr />
  <p><em>Version in use</em></p>
  <ul>
  <li>ag-grid-angular: 23.2.1</li>
  <li>ag-grid-community: 23.2.1</li>
  </ul>