Skip to content

Commit

Permalink
chore: rollback
Browse files Browse the repository at this point in the history
Signed-off-by: waterplea <alexander@inkin.ru>
  • Loading branch information
waterplea committed May 14, 2024
1 parent 494fb42 commit a014873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/kit/components/input-tag/input-tag.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export class TuiInputTagComponent

protected onTagKeyDownArrowRight(currentIndex: number): void {
if (currentIndex === this.value.length - 1) {
this.focusInput(false);
this.focusInput();
} else {
this.onScrollKeyDown(currentIndex, 1);
}
Expand Down Expand Up @@ -500,7 +500,7 @@ export class TuiInputTagComponent
}
}

private focusInput(preventScroll = true): void {
private focusInput(preventScroll = false): void {
this.nativeFocusableElement?.focus({preventScroll});
}

Expand Down

0 comments on commit a014873

Please sign in to comment.