overlay icon indicating copy to clipboard operation
overlay copied to clipboard

Overlay preventing copying full line

Open GuyNachshon opened this issue 1 year ago • 2 comments

When double-clicking a line to highlight it, if overlay exists it prevents you from copying the entire line on double click.

Example

Possible solutions:

  • add copy icon at the end of the line
  • using the pseudo-selector ::select
  • javascript solution - though it is messy and not intuitive to support:
const parentElement = document.getElementById('parentElement'); 
parentElement.addEventListener('dblclick', function(event) {event.stopPropagation();});

GuyNachshon avatar May 28 '23 07:05 GuyNachshon