Skip to content

Commit

Permalink
Fix primefaces#4948: FileUpload click instead of mousedown
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Sep 24, 2023
1 parent 0d9de21 commit b4cb2d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/fileupload/FileUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ export const FileUpload = React.memo(
className: classNames(chooseOptions.className, cx('basicButton', { hasFiles, disabled, focusedState })),
style: chooseOptions.style,
tabIndex: 0,
onMouseUp: onSimpleUploaderClick,
onClick: onSimpleUploaderClick,
onKeyDown: (e) => onKeyDown(e),
onFocus,
onBlur
Expand Down

0 comments on commit b4cb2d9

Please sign in to comment.