Skip to content

The zebkit canvas will block the html event. #173

Description

@ArionTT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions