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

The zebkit canvas will block the html event. #173

Open
ArionTT opened this issue Nov 21, 2018 · 0 comments
Open

The zebkit canvas will block the html event. #173

ArionTT opened this issue Nov 21, 2018 · 0 comments

Comments

@ArionTT
Copy link

ArionTT commented Nov 21, 2018

I have set two canvas, the first is zebkit canvas to show UI, and the second canvas to use webgl render 3d scene. The second canvas is behind on the zebkit canvas.
If I don't use zebkit or show zebkit canvas , the mouse move and click event is well. When I use the zebkit canvas, the mouse event is invalid, the 3d camera can't move any more, and the key event is fine.

Is the zebkit block the mouse event to the second canvas?
I have try to dispatch("click"), dispatch("mousemve") to second canvas, but it no used.

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