Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onClick (and other mouse events) break with a lot of elements on canvas #2068

Open
nemo opened this issue Mar 3, 2024 · 0 comments
Open

Comments

@nemo
Copy link

nemo commented Mar 3, 2024

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.

Additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant