Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

141
Views
div containing canvas never receives copy event in Chrome

With Firefox 99 if you run the code snippet below, click on the yellow div and type ctrl+c then copy is printed in the console. In Chrome 99 the div never receives the copy event. If you remove the canvas element the div receives the copy event as expected. Is this just a bug in Chrome?

document.querySelector('#div').addEventListener('copy', (event) => { console.log('copy');});
#div {
  display: block;
  height: 100px;
  width: 200px;
  background-color: yellow;
}

#canvas {
  height: 50px;
  width: 200px;
  background-color: blue;
}
<div id="div">
<canvas id="canvas"></canvas>
</div>

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!