-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gallery full images are not shown correctly on Firefox #5971
Comments
Hi @AndrewMead10! Strange - the images are working fine for me on the website right now. Can I ask what system and browser you're using? |
Ubuntu 22 and firefox |
I meet the same problem on windows! Is there a solution? 🥲 |
I have the same problem on Arch Linux in Firefox 121.0.1, both with the latest version of Gradio (4.14.0) installed locally and with the doc page. The problem wasn't present previously. For example, on version 3.44.3 Gallery worked correctly.
@AndrewMead10, could you please share the workaround? |
Edit: I stand corrected, the bug is present in 3.50.2. It seems that some images are okay, while others have problems, depending on the size and aspect ratio. Edit 2: Bisected a bit more. The last working version is 3.44.4. The bug first appeared in 3.45.0. |
I just ended up using windows, no easy fix i could find for linux |
Found a simple workaround: with gr.Blocks(css=".preview { width: 100%; }") as demo:
... |
Describe the bug
When selecting an image from a gallery, the image is not centered, and the other images behind it are not hidden either, as seen on the demo galleries in the documentation.
Have you searched existing issues? 🔎
Reproduction
Both exmaples on the doc page for gallery https://www.gradio.app/docs/gallery
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: