KarimMokhtar / react-drag-drop-files

Light and simple Reactjs drag and drop files library to use with very flexible options to change, so you put whatever the design you want for your drop-area. Users can drag and drop or even select the file anywhere in the window.
MIT License
248 stars 91 forks source link

Setting `label` to a single word inside of FileUploader causes unexpected behaviour #83

Open masecla22 opened 2 years ago

masecla22 commented 2 years ago

Setting the label attribute of a FileUploader to a single word causes some weird behavior.

This is likely caused by the fact that the first word inside of the label is used for the Upload button. This causes an issue where the word is repeated twice.