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

Cursor events not working in Firefox #12

Open
jcarpenter opened this issue Aug 2, 2015 · 5 comments
Open

Cursor events not working in Firefox #12

jcarpenter opened this issue Aug 2, 2015 · 5 comments

Comments

@jcarpenter
Copy link

Cursor events don't seem to be working in Firefox. Have experimented with links and hover states, and both work correctly in Chrome but fail in Firefox.

Test case here: http://mozvr.github.io/cssvr-experiments/20150802-03/index.html

@jcarpenter
Copy link
Author

May be related to issue #13 ?

@dmarcos
Copy link
Contributor

dmarcos commented Aug 4, 2015

This seems related to z-ordering issues. If I remove the front face of the cube that is behind of the menu events work properly.

@jcarpenter
Copy link
Author

Interesting, okay so it must be related to the "ray casting" issues (for lack of a better description) that @caseyyee encountered when implementing Horizon's DOM cursor. Wherein the "ray" from camera to cursor originates from an infinite point behind the camera, thereby hitting elements behind us first.

@jcarpenter
Copy link
Author

@jcarpenter
Copy link
Author

Removing front face of the cube (the one behind the elements being clicked) solves the issue. So it seems to be an ordering issue, whereby Firefox is incorrectly interpreting depth ordering. Per #15

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

No branches or pull requests

2 participants