Skip to content

Commit

Permalink
Merge pull request #117 from KarimMokhtar/dev
Browse files Browse the repository at this point in the history
merge dev
  • Loading branch information
KarimMokhtar authored Apr 30, 2023
2 parents e99cc22 + 37f6668 commit 85e1805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-drag-drop-files",
"version": "2.3.9",
"version": "2.3.10",
"description": "Light React Drag & Drop files and images library styled by styled-components",
"author": "Karim <karimmokhtar28@gmail.com>",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions src/FileUploader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ const FileUploader: React.FC<Props> = (props: Props): JSX.Element => {
ev.stopPropagation();
// eslint-disable-next-line no-param-reassign
if (inputRef && inputRef.current) {
inputRef.current.value = '';
inputRef.current.click();
}
};
Expand Down

0 comments on commit 85e1805

Please sign in to comment.