carbon-components-angular icon indicating copy to clipboard operation
carbon-components-angular copied to clipboard

Icon Button stopping click propagation

Open Licen-it opened this issue 10 months ago • 1 comments

Detailed description

Describe in detail the issue you're having.

The icon button is stopping the click event to bubble up the DOM structure. This is preventing other listeners to catch the action. In my usecase i'm placing the button inside an anchor (<a>) to be able to use routerLink feature that is not supported by the button

Is this a feature request (new component, new icon), a bug, or a general issue?

bug

Is this issue related to a specific component?

Icon button

What did you expect to happen? What happened instead? What would you like to see changed?

the click should correctly bubble up across the DOM tree.

What browser are you working in?

any

What version of the Carbon Design System are you using?

latest

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

Zelta

Licen-it avatar Apr 17 '24 09:04 Licen-it