Merge remote-tracking branch 'origin/master'

This commit is contained in:
AUTOMATIC 2022-10-11 22:03:57 +03:00
commit 2f6ea2fbca

View file

@ -38,4 +38,7 @@ addEventListener('keydown', (event) => {
target.selectionStart = selectionStart;
target.selectionEnd = selectionEnd;
}
// Since we've modified a Gradio Textbox component manually, we need to simulate an `input` DOM event to ensure its
// internal Svelte data binding remains in sync.
target.dispatchEvent(new Event("input", { bubbles: true }));
});