MackeyK24 Posted February 22, 2018 Share Posted February 22, 2018 I am using the babylon inspector bundle .js an when I toggle the layer: // Toggle Debug Panel this.manager.onKeyPress(BABYLON.UserInputKey.P, ()=>{ scene.debugLayer.show({ popup: false, initialTab: 0, parentElement: null }) }); It shows up fine on the side but I CANNOT 'click' on anything or switch panels... it seems like the mouse input is still in the game... My Root Div is at Z-Index: 0 Game Canvas is at Z-Index: 1 And I have a few debug divs at Z-Index: 2 Here is screen shot: Any clues ??? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2018 Share Posted February 22, 2018 Does it repro on other browsers? Can you share the page somewhere? Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted February 23, 2018 Author Share Posted February 23, 2018 19 hours ago, Deltakosh said: Does it repro on other browsers? Can you share the page somewhere? Yo @Deltakosh here is a demo scene... Press 'P' on your keyboard to TOGGLE the debug panel... When it is open you cannot click on any of the tabs... Seems like some kind of Z-Index problem or something like that Test Toolkit Scene Note: WegGL 2 Browser work best Quote Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2018 Share Posted February 23, 2018 The stats div block inputs you should make it child of the root div Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted February 23, 2018 Author Share Posted February 23, 2018 57 minutes ago, Deltakosh said: The stats div block inputs you should make it child of the root div Yo @Deltakosh can you please check again... I removed stat.js from page... including the script tag... Still cannot click anything Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted February 23, 2018 Author Share Posted February 23, 2018 1 hour ago, Deltakosh said: The stats div block inputs you should make it child of the root div I noticed that the Inspector is putting the 'inso-wrapper' div INSIDE my root div... I am passing null as parentElement to the inpspector.show function but it is putting the inso-wrapper inside my root div.... Could that be the issue ??? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 26, 2018 Share Posted February 26, 2018 Let me ping @Temechon Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted February 26, 2018 Author Share Posted February 26, 2018 9 minutes ago, Deltakosh said: Let me ping @Temechon Thanks Bro The work around I have now is to PUT the debug layer in its own div I create on side with absolute position... Then use the div as the parentElement in the scene.debugLayer.show... I just dont get ANY SLIDER/DIV so I CANT expand the debug layer... and the popup option is totally blank and leave the ui in the parentElement Div... But at least I can hit the other tab pages in the debug layer... Would to figure out what the deal is WITHOUT having to put debugLayer in its own div Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.