Closed as duplicate of#11790
Description
Describe the bug
When a Toolbar
has a disabled ToolbarButton
, click the button, the onClick
event can still be invoked.
Isolated Example
https://stackblitz.com/edit/github-xjv9w2jh?file=src%2FApp.tsx
Reproduction steps
- Open the example, click the disabled toolbar button
- Alert pops out
Expected Behaviour
Alert should not pop up when click on a disabled toolbar button
Screenshots or Videos
No response
UI5 Web Components for React Version
2.11.0
UI5 Web Components Version
2.11.0
Browser
Chrome
Operating System
macOS
Additional Context
No response
Relevant log output
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
Metadata
Metadata
Assignees
Labels
No labels