New issue
Advanced search Search tips

Issue 799461 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 534245
Owner: ----
Closed: Jan 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

input event not emitted when drag and dropping a file into a <input type=file>

Reported by bruan...@gmail.com, Jan 5 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Steps to reproduce the problem:
1. Open test case in browser
2. Drop any file in the <input>

What is the expected behavior?
An 'input' event is triggered changing the text

What went wrong?
No 'input' event is triggered

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 56.0.2924.87  Channel: stable
OS Version: 4.13.0-21-generic Ubuntu Artful
Flash Version: 

I have only tested on Linux, so I cannot tell whether this doesn't work on other versions of Chrome.

I have only tested in Firefox, so i don't know what other browsers do.
 
index.html
494 bytes View Download

Comment 1 by bruan...@gmail.com, Jan 5 2018

Also, standards seem to indicate both 'change' and 'input' events should happen for files : 
https://html.spec.whatwg.org/multipage/input.html#concept-input-apply
Components: Blink>Forms>File

Comment 3 by h...@oncletom.io, Jan 5 2018

I can reproduce it with Chrome Canary (65.0.3312.0) and Chrome (63.0.3239.84) on macOS.

It does not make any difference if I drag and drop a file on the button, or if I click+select.

Comment 4 by tkent@chromium.org, Jan 9 2018

Mergedinto: 534245
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment