mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Quick fix: Make component interactive when it is in focus (#6530)
* fi * add changeset * format --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
parent
6d3fecfa42
commit
13ef0f0caa
6
.changeset/five-experts-repeat.md
Normal file
6
.changeset/five-experts-repeat.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/app": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Quick fix: Make component interactive when it is in focus
|
@ -491,7 +491,8 @@
|
||||
outputs.forEach((id) => {
|
||||
if (
|
||||
instance_map[id].props.interactive &&
|
||||
status.stage === "pending"
|
||||
status.stage === "pending" &&
|
||||
dep.targets[0][1] !== "focus"
|
||||
) {
|
||||
pending_outputs.push(id);
|
||||
instance_map[id].props.interactive = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user