From 545199889a8b49fba7864b908b768d7fd30f2d86 Mon Sep 17 00:00:00 2001 From: Bernardo Cardoso Date: Tue, 9 Apr 2024 11:10:59 +0100 Subject: [PATCH] Add shape condition --- core/src/components/chip/chip.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/chip/chip.tsx b/core/src/components/chip/chip.tsx index b3e946f842..587390c25a 100644 --- a/core/src/components/chip/chip.tsx +++ b/core/src/components/chip/chip.tsx @@ -50,7 +50,7 @@ export class Chip implements ComponentInterface { aria-disabled={this.disabled ? 'true' : null} class={createColorClasses(this.color, { [theme]: true, - [`chip-${shape}`]: shape !== undefined, + [`chip-${shape}`]: theme === 'ionic' && shape !== undefined, 'chip-outline': this.outline, 'chip-disabled': this.disabled, 'ion-activatable': true,