From 3fe9cc7ff42a29bab2f6cada0a12625e46cba408 Mon Sep 17 00:00:00 2001 From: Yoann Masson Date: Wed, 27 Jan 2021 15:42:54 +0100 Subject: [PATCH] fix (DatepickerModal) scrollIntoView --- .../ionic4-datepicker-modal.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/ionic4-datepicker/src/lib/ionic4-datepicker-modal/ionic4-datepicker-modal.component.ts b/projects/ionic4-datepicker/src/lib/ionic4-datepicker-modal/ionic4-datepicker-modal.component.ts index b2244b2..80ee635 100644 --- a/projects/ionic4-datepicker/src/lib/ionic4-datepicker-modal/ionic4-datepicker-modal.component.ts +++ b/projects/ionic4-datepicker/src/lib/ionic4-datepicker-modal/ionic4-datepicker-modal.component.ts @@ -109,7 +109,7 @@ export class Ionic4DatepickerModalComponent implements OnInit, OnDestroy { const iditem = index + 'list'; setTimeout(() => { - document.getElementById(iditem).scrollIntoView(); + document.getElementById(iditem).scrollIntoView(false); }, 100); }