onClick (and other mouse events) break with a lot of elements on canvas
nemo opened this issue · comments
Nima Gardideh commented
Description/Steps to reproduce
Draw 400 circles side by side and add an onClick element to them (or use hitTarget). Paper ends up picking elements quite far from the cursor itself.
Link to reproduction test-case
Here's a Codepan of this bug: https://codepen.io/nimsical/pen/mdgyoMK
Expected result
Expected result would be to have the right element's onClick handler be called.