Skip to content

Commit ce27376

Browse files
authored
Merge branch '9.0.x' into nrobakova/refactor-resizing-tests-90
2 parents 2fd4edd + 71947e0 commit ce27376

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)