gradio
a8e6b7ba - Fix ColorPicker not firing focus, blur, or submit events (#12862)

Commit
10 days ago
Fix ColorPicker not firing focus, blur, or submit events (#12862) * fix: ColorPicker not firing focus blur or submit events * Add changeset for colorpicker events fix * simplify: only add focus/blur to dialog-button per review * fix: convert remaining on: directives to new syntax on mixed elements Convert on:click to onclick on dialog-button and on:change to onchange on the text input to avoid mixing old Svelte on: directives with new event handler syntax (onfocus, onblur, onkeydown) on the same element. * Convert remaining on: event directives to Svelte 5 syntax Missed a few old-style on: handlers (mousedown, mousemove, mouseup, click) that were causing the mixed_event_handler_syntaxes build error. Also ran prettier to fix formatting. --------- Co-authored-by: Freddy Boulton <41651716+freddyaboulton@users.noreply.github.com>
Author
Parents
Loading