-
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
Clicking on tab (Select event) stacks events and doesn't respond #7189
Comments
Hi @skye0402 can you please provide a minimal code example that we can use to reproduce the issue above? See: https://stackoverflow.com/help/minimal-reproducible-example |
@abidlabs - I was able to make it reproducible. Above code is stripped of all functions, so it looks dumb since most the the logic is out.
|
@abidlabs did you want to remove the other label? I think it's a bug. And it's reproducible. |
Removed, we'll take a look at this issue as soon as we can. |
Describe the bug
I have 3 tabs in my gradio blocks app. When I select a tab, I want to change the visibility of 2 Accordion elements on the right side of the page. The tabs are on the left side.
This is how I handle the visibility (depending on the tab, visible or not). The first tab doesn't trigger the select event at all. However, when I click on the second or third tab (depending on which tab is currently not active), it would call the according
select
event for the first tab and then immediately after call the event of the clicked tab. So it seems to stack the event of the first tab but executes only with the second event.If I click around a few times I get the error shown in the log.
Any idea what that could be?
Have you searched existing issues? 🔎
Reproduction
Screenshot
Green tabs work, red doesn't trigger select event.
Green marked accordions are toggled for visibility.
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: