We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582bb93 commit 8adfe87Copy full SHA for 8adfe87
packages/uui-card-media/lib/uui-card-media.element.ts
@@ -94,8 +94,7 @@ export class UUICardMediaElement extends UUICardElement {
94
ifDefined(
95
this.target === '_blank' ? 'noopener noreferrer' : undefined,
96
),
97
- )}
98
- @click=${(e: MouseEvent) => e.stopPropagation()}>
+ )}>
99
${this.#renderContent()}
100
</a>
101
`;
@@ -121,9 +120,7 @@ export class UUICardMediaElement extends UUICardElement {
121
120
<div id="select-border"></div>
122
123
<slot name="tag"></slot>
124
- <slot
125
- name="actions"
126
- @click=${(e: MouseEvent) => e.stopPropagation()}></slot>`;
+ <slot name="actions"></slot>`;
127
}
128
129
static styles = [
0 commit comments