Skip to content

Commit caf2827

Browse files
authored
Merge branch 'master' into nrobakova/refactor-resizing-tests
2 parents 5632234 + b306360 commit caf2827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/directives/focus/focus.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class IgxFocusDirective {
6363
*/
6464
trigger() {
6565
if (this.focusState) {
66-
requestAnimationFrame(() => this.nativeElement.focus());
66+
requestAnimationFrame(() => this.nativeElement.focus({ preventScroll: true}));
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)