If I add HTML elements on top of the canvas, when I click things on them the click ‘leaks’ into the three.js scene.
For example, if I click in the text field shown in the attachment while the video panel is behind it, the video panel activates as well as the focus going to the input field.
I have tried several methods of not propagating the click event but none of them seem to work.
Does anyone know the proper way to stop events from propagating into the canvas?
That being said: the change i was thinking of probably doesnt fix your issue. I will try to test that in a little bit and make another release if necessary