siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
174 stars 62 forks source link

[IxUpload] disabled and LOADING don't prevent opening the dialog with keyboard #1276

Open jheckl opened 1 month ago

jheckl commented 1 month ago

Prerequisites

What happened?

Navigate to a disabled IxUpload with Tab, or an IxUpload with state=LOADING and interact with it with Space or Enter. Then the file chooser popup will be opened. In the case of disabled, no filesChanged event will be fired. In the case of LOADING, the filesChanged event will be fired.

What type of frontend framework are you seeing the problem on?

Angular

Which version of iX do you use?

v2.1.0

Code to produce this issue.

Can be reproduces in the stackblitz of the IX Documentation simply by adding disabled or state="LOADING". https://stackblitz.com/run?file=src%2Fapp%2Fupload.ts
github-actions[bot] commented 1 month ago

🤖 Hello @jheckl

Your issue will be analyzed and is part of our internal workflow. To get informed about our workflow please checkout the Contributing Guidelines

JIRA: IX-1226