This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 56
2nd image is not attaching #8
Comments
Hi, Just for sure, you're trying to attach the same image twice in a row? If that is the case, this occurs because of the default behavior of |
Hi Christian,
Yes, attempting to upload the same file twice as files 1 and 2. If I upload 2 different files, then 2 of the same files as files 3 and 4, it does trigger the change event.
Thanks for the info!
From: Christian Bayer <[email protected]>
Sent: Friday, July 24, 2020 6:44 AM
To: christianbayer/image-uploader <[email protected]>
Cc: Rebeca Willey <[email protected]>; Author <[email protected]>
Subject: Re: [christianbayer/image-uploader] 2nd image is not attaching (#8)
Hi, Just for sure, you're trying to attach the same image twice in a row? If that is the case, this occurs because of the default behavior of input[type="file"]. As it is the same image, it does not trigger the change event.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOO3OV3WXQ5DT55TELOQTCDR5FXXFANCNFSM4PF3E2HA>.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When selecting images, if I select the 1st image it attaches to the container. When I select the second image (using the same image), it does nothing. If I use a different image, it does attach. 3rd and so on attach properly.
The text was updated successfully, but these errors were encountered: