Show correctly the Inspector/Scene Explorer using Multiview

Hi, I am making a One page website, using multiview! so I have 5 Cameras redering in 5 different canvas. I used the babylon demo as a starting point:
https://www.babylonjs.com/demos/views/
if you go to console and write: scene.debugLayer.show() you will see some other display errors.

In my local development i am getting the scene explorer with some offset when clicking an element and the inspector has white blocks, so i cannot really use it:

How could I get to display correctly the Debuglayer stuff? MAybe it is something simple that I am missing…

thanks!

Hey!

This is because the debug layer will use the canvas as the root if there is no host defined

Simply call this code:

scene.debugLayer.show({
 globalRoot: document.getElementById("name of the top HTML element where you want the inspector to be installed")
});

sounds promising, ill soon test it! thanks!