PixiHTMLContainer has his own PointerContext-Coordinates
Sylraka opened this issue · 3 comments
Sylraka commented
Actions:
- Add a PointerContext to the canvas
- Add a PixiHTMLContainer to the canvas
Expected behaviour
The PointerContext holds the coordinates of the cursor inside the canvas (see image).
It should hold this coordinates over all elements inside the canvas.
Found behaviour
The PointerContext coordinates set a new coordinate system if hover over a PixiHTMLContainer (see image).
mcastiello commented
My best guess on this one is that by hovering over a different HTML element, the event intercepted by the context is not the one dispatched by the canvas. Actually I think that the fact that they use the same context may be the cause of the issue.
I need to investigate this one
mcastiello commented
New version is 1.3.24
Sylraka commented
Now it works! Thank you.