Skip to content

Commit 304dc2b

Browse files
authored
Merge branch 'master' into mpopov/input-placeholder-position-master
2 parents fed91fc + b306360 commit 304dc2b

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)