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.
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.