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

Freaky heisenbug where intersects is falsely negative after many events, Chrome only #2

Open
gkop opened this issue Jul 8, 2014 · 3 comments

Comments

@gkop
Copy link

gkop commented Jul 8, 2014

In Chrome 35 and Chromium 35, consistently, after a hundred or so (varies) mouseover/mouseout combos, intersects seems to come back negative when it should not.

It's inside this conditional - https://github.com/jeromeetienne/threex.domevents/blob/master/threex.domevents.js#L268

If I put a console.log inside this conditional, after this bug manifests, that console.log line is never reached.

However if I set an inspector breakpoint at the line with the console.log, the breakpoint trips with the next event.

The bug manifests with developer tools open or closed, with Three.js r59 and r67.

Meanwhile I cannot replicate the bug in Iceweasel 24.6.0.

@jeromeetienne
Copy link
Owner

thanks for reporting. how can i easily reproduce the bug ?

i use it on many time without issue

@gkop
Copy link
Author

gkop commented Jul 9, 2014

I will extract a minimum test case when I have time. I cannot reproduce in your demos.

@micmmakarov
Copy link

I fix this bug by calculating offset in Jquery https://github.com/micmmakarov/threex.domevents

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

3 participants