diff --git a/.changeset/long-snakes-notice.md b/.changeset/long-snakes-notice.md new file mode 100644 index 0000000000000..fac96651551a9 --- /dev/null +++ b/.changeset/long-snakes-notice.md @@ -0,0 +1,6 @@ +--- +"@gradio/imageeditor": patch +"gradio": patch +--- + +fix:ImageEditor: Trigger input event even if change event not defined diff --git a/js/imageeditor/Index.svelte b/js/imageeditor/Index.svelte index 526c9102fa0b4..d50361ea18972 100644 --- a/js/imageeditor/Index.svelte +++ b/js/imageeditor/Index.svelte @@ -214,7 +214,8 @@ {brush} {eraser} changeable={attached_events.includes("apply")} - realtime={attached_events.includes("change")} + realtime={attached_events.includes("change") || + attached_events.includes("input")} i18n={gradio.i18n} {transforms} accept_blobs={server.accept_blobs}