Problem with keydown for FileUpload component #10575
Labels
LTS-FIXED-11.4.10
Fixed in PrimeNG LTS 11.4.10
LTS-FIXED-12.2.5
Fixed in PrimeNG LTS 12.2.5
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-z3fahq?file=src%2Fapp%2Fapp.component.html
Current behavior
When you focus on a component and click on any keyboard button, a file selection dialog box appears
Expected behavior
The dialog box should only be displayed when the enter or spacebar is pressed
What is the motivation / use case for changing the behavior?
When tabbing across controls, a dialog box appears, but this should not be
Please tell us about your environment:
Ubuntu 20.04, VS Code, ExpressJs
Angular version: 12.1.2
PrimeNG version: 12.0.1
Browser:
all
Language: TypeScript
Node (for AoT issues):
node --version
= 12.XThe text was updated successfully, but these errors were encountered: