Skip to content

Commit 3fe9cc7

Browse files
author
Yoann Masson
committed
fix (DatepickerModal) scrollIntoView
1 parent 33f91b7 commit 3fe9cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ionic4-datepicker/src/lib/ionic4-datepicker-modal/ionic4-datepicker-modal.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class Ionic4DatepickerModalComponent implements OnInit, OnDestroy {
109109
const iditem = index + 'list';
110110

111111
setTimeout(() => {
112-
document.getElementById(iditem).scrollIntoView();
112+
document.getElementById(iditem).scrollIntoView(false);
113113
}, 100);
114114
}
115115

0 commit comments

Comments
 (0)