[SOLVED] Keeping/displaying HTML UI while in fullscreen?

I understand that this may not be directly related to PlayCanvas, but more to HTML and CSS. After switching to fullscreen mode, all existing HTML elements above the canvas (according to Z index) becomes invisible, any ideas on how to display them? Thanks for any info.

Hi @Newbie_Coder,

Yes you can do that, just make sure you request fullscreen on the document element instead of the canvas.

More here: Fullscreen API - Web APIs | MDN

2 Likes