`input` and `change` event for input[type=file] does not fire when different file with same name is selected
Reported by
mariko.k...@gmail.com,
Jun 27 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 Steps to reproduce the problem: video: https://youtu.be/B6Ypt9wPuDs reduced test case: https://codepen.io/anon/pen/eKPJda?editors=1010 Steps to reproduce: 1. [input]select file1 on <input type="file"> => input and change event are fired 2. [input]select file1 again => input and change event is NOT fired 3. Delete the file1, rename file2 to same name as file2 4. [input]select file2 (same file name as file1) => input and change event is NOT fired What is the expected behavior? Input and Change event are fired every-time user select a file on prompt. Regardless of filename or even when same file is selected twice. What went wrong? Input and Change events do not fire. Did this work before? N/A Does this work in other browsers? Yes Chrome version: 67.0.3396.87 Channel: n/a OS Version: OS X 10.13.3 Flash Version: Firefox fires Input and Change events everytime user selects a file on prompt. Webkit has same issue as Chrome for not firing events. (bug: https://bugs.webkit.org/show_bug.cgi?id=187084)
,
Jun 27 2018
ah yes, thanks for the catch woxxom@gmail.com
,
Jun 27 2018
,
Jun 27 2018
,
Jun 28 2018
,
Jan 7
Issue 919290 has been merged into this issue. |
|||
►
Sign in to add a comment |
|||
Comment 1 by woxxom@gmail.com
, Jun 27 2018