Skip to content

Commit

Permalink
stopPropagation on input file
Browse files Browse the repository at this point in the history
  • Loading branch information
erasta committed Nov 19, 2024
1 parent 2e18935 commit 94a2355
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion client/src/IO/UploadDevices/UploadDevicesFieldsDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export const UploadDevicesFieldsDialog = ({ devicesToUpload, setDevicesToUpload,
}
}


return (
<Dialog
open={true}
Expand Down
1 change: 1 addition & 0 deletions client/src/Utils/ButtonFile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const ButtonFile = ({ accept, tooltip, onChange, children, ...restprops }
ref={inputFile}
style={{ display: "none" }}
onChange={e => onChange(e.target.files)}
onClick={e => e.stopPropagation()}
accept={accept}
/>
<ButtonTooltip
Expand Down

0 comments on commit 94a2355

Please sign in to comment.