Skip to content

Commit

Permalink
fix(person-avatar): person card click
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrejNikolicEq committed Apr 3, 2024
1 parent 821d921 commit 7a1c793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/person/src/components/avatar/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ export class PersonAvatarElement
<slot name="floating">
${when(
this.isFloatingOpen,
() => html`<fwc-person-card .azureId="${this.azureId}" .upn="${this.upn}"></fwc-person-card>`,
() => html`<fwc-person-card onclick="event.stopPropagation()" .azureId="${this.azureId}" .upn="${this.upn}" />`,

Check warning on line 313 in packages/person/src/components/avatar/element.ts

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

packages/person/src/components/avatar/element.ts#L313

[prettier/prettier] Insert `⏎·············`
)}
</slot>
</div>
Expand Down

0 comments on commit 7a1c793

Please sign in to comment.