#775·lightbox2

Add fullscreen button

Author: marokpuntoorgCreated Apr 17, 2026Updated Apr 17, 2026

Hi, this is not a bug report, just a request, to add a "Fullscreen" button. I mean something easy, like using the .requestFullscreen() method, which automatically fills the screen, without messing up the aspect ratio. Or something like that, there are a lot of ways to do this. I perfectly know that this button may generate a problem that I myself wouldn't know how to solve: pressing ESC to exit full-screen mode would also exit normal view. Maybe there's a way to intercept the key and avoid this? Thanks!