gr.Image fullscreen button does not scale the image but scales the EventData #10268
Open
1 task done
Labels
bug
Something isn't working
Describe the bug
When I load an image into gr.Image which is smaller than my screen, and I press the fullscreen button, the image remains the same size and surrounded by black borders, rather than being enlarged to fill the screen. I would expect the fullscreen button to make the image larger, otherwise, what is the point?
However, I noticed that when in fullscreen mode, the EventData x/y coordinates DO get scaled as if the image is fullscreen, which breaks use cases where you need to obtain the clicked coordinates.
Have you searched existing issues? 🔎
Reproduction
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: