The Label2DRenderer does not have the same dimensions as the canvas and can overflow, catching inputs for the view outside of it in areas of the screen visually outside of it.
Div containing both canvas and Label2DRenderer dom element:
The actual Label2DRenderer dom element:
Your Environment
Context
The Label2DRenderer does not have the same dimensions as the canvas and can overflow, catching inputs for the view outside of it in areas of the screen visually outside of it. Div containing both canvas and Label2DRenderer dom element:
The actual Label2DRenderer dom element:
![image](https://github.com/iTowns/itowns/assets/45125768/cfa436f0-a746-472f-b842-0f82a7bc1838)
Steps to Reproduce (for bugs)
HTML:
TypeScript:
Expected Behavior
The Label2DRenderer should have the same size as the canvas.
Actual Behavior
The Label2DRenderer is not the same size as the canvas, leading to capture of inputs outside of the view.
Possible Cause/Fix/Solution
Might have something to do with the use of flex boxes.