Skip to content
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

Drag-and-Drop Image doesn't work inside of a gr.Tab #8315

Closed
1 task done
apolinario opened this issue May 17, 2024 · 1 comment
Closed
1 task done

Drag-and-Drop Image doesn't work inside of a gr.Tab #8315

apolinario opened this issue May 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@apolinario
Copy link
Contributor

Describe the bug

If a field that allows for drag-drop a file (e.g.: gr.Image) is inside of a gr.Tab, the drag and drop doesn't work

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

with gr.Blocks() as demo:
    with gr.Tab("Foo"):
        image = gr.Image()
   
demo.launch()

Screenshot

No response

Logs

No response

System Info

gradio==4.31.3

Severity

I can work around it

@apolinario apolinario added the bug Something isn't working label May 17, 2024
@apolinario
Copy link
Contributor Author

apolinario commented May 17, 2024

Actually, this wasn't it. The issue seems to be any drag-and-drop inside the Spaces iframe on some browsers. Further investigating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant