Bug 237190

Summary: Feature Request: An event on <input type=file> for when HEIC to JPEG conversion starts
Product: WebKit Reporter: martin_petrov
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: akeerthi, cdumez, sabouhallawa, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Mac (Intel)   
OS: macOS 11   

martin_petrov
Reported 2022-02-25 01:13:14 PST
<input type="file" accept="image/jpeg" multiple> The automatic conversion of multiple HEIC files to JPEG is slow on older machines. I would like to display a loader. I can already show a loader when the user clicks the input, and hide it when the "change" event fires. However the "change" event doesn't fire when canceling the "Choose files" dialog. A solution could be an extra event that fires immediately after files are chosen (before conversion), or alternatively, an event for the Cancel action.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-02-25 09:56:34 PST
Note You need to log in before you can comment on or make changes to this bug.