overlay
overlay copied to clipboard
Overlay preventing copying full line
When double-clicking a line to highlight it, if overlay exists it prevents you from copying the entire line on double click.
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();});