bullhorn / novo-elements

UI Repository for Bullhorn's Novo Theme
http://bullhorn.github.io/novo-elements
MIT License
76 stars 61 forks source link

[File Input Controls] Cannot upload the same file more than once #690

Closed ezrashim closed 5 years ago

ezrashim commented 6 years ago

Note: for support questions, please use one of these channels: Chat: BullhornOSS Gitter

I'm submitting a...
What is the current behavior?

In File Input Controls, I cannot upload the same file twice consecutively (doesn't trigger any event when attempted).

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

click the input area > choose a file and open click the input area again > choose the same file and open no event is triggered

What is the expected behavior?

When the same file is chosen for an upload, the new change event should trigger and replace the old object with the new.

Please tell us about your environment:
charlesabarnes commented 5 years ago

Hey Ezra,

going through a couple of old issues. Can you elaborate why an event should fire when the same file is uploaded?

ezrashim commented 5 years ago

event should fire only because the UI suggests it. the file picker does not prevent a user to either pick or save the same file twice, but when it does, nothing happens. There's really no way of preventing the users from saving the same file twice.

On Sat, Mar 23, 2019 at 2:43 PM Charles Barnes notifications@github.com wrote:

Hey Ezra,

going through a couple of old issues. Can you elaborate why an event should fire when the same file is uploaded?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bullhorn/novo-elements/issues/690#issuecomment-475894554, or mute the thread https://github.com/notifications/unsubscribe-auth/ALhO-sXVc4b2iFQlDhknA4gq4GuNxkswks5vZnXcgaJpZM4TG4gv .

--

Ezra Shim | Software Engineer I

M 510.499.9210

-- http://www.bullhorn.com/ https://twitter.com/bullhorn https://www.linkedin.com/company/bullhorn https://www.facebook.com/Bullhorn

ezrashim commented 5 years ago

It's a native behbvior of input type=file. Closing the issue.