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 17, 2024
1 parent 8ae651b commit 23e32c4
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 23e32c4

Please sign in to comment.