Avoid hiding divs in fullscreen?

I’ve just created a very rough fullscreen button with a div (I think that is easier to deal with divs than with regular Babylon buttons)

But when you go fullscreen it becomes hidden.

Is there any chance to avoid this behaviour? Thank you in advance.

You would have to make a container and apply your own fullscreen api code to that, rather than using the built-in fullscreen.

<div> // fullscreen on this
    <div></div> // this will display in fullscreen

Thank you I’ll provide a working sample for future readers: