FileUpload: Input Triggered on Any Mouse Click #13722
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Issue Report: FileUpload Input Triggered on Any Mouse Click
Description
The FileUpload component's input is being triggered on any mouse click event, not just the left click. This behavior is unexpected and may lead to unintended file selections.
Steps to Reproduce
Go to https://primeng.org/fileupload right click on the first FileUpload (mode="basic") -> see it opens the file browser and closes the context menu directly
Expected Behavior
The expected behavior is that the FileUpload component's input should only be triggered on a left mouse click (e.g., a regular file selection behavior).
Actual Behavior
Only the context menu should open
Environment Information
Code Snippet
The text was updated successfully, but these errors were encountered: