After including the domElement
(canvas) from THREE.js WebGLRenderer
in my document, I noticed that the 'click' mouse event no longer triggers when clicking on the container element containing the canvas.
Is there a method to prevent the canvas from intercepting mouse clicks?
UPDATE: By simply removing the line of code below (not adding the canvas at all), the click event functionality is restored:
this.domElement.appendChild(this.threeRenderer.domElement);