Skip to content

Commit

Permalink
fix(addon-commerce): InputCardGroup safari autofill focus
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlufy committed Oct 16, 2024
1 parent 2549418 commit 5ac0716
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class TuiInputCardGroup
switchMap(() => timer(100)),
takeUntilDestroyed(),
)
.subscribe(() => this.focusExpire())
.subscribe(() => (this.expire ? this.focusCVC() : this.focusExpire()))
: EMPTY;

protected readonly m = tuiAppearanceMode(this.mode);
Expand Down

0 comments on commit 5ac0716

Please sign in to comment.