From 8f0eddef33e4d558139982ac5ae57aca0bd39f7f Mon Sep 17 00:00:00 2001 From: Akash Kava <39438041+ackava@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:59:09 +0530 Subject: [PATCH] hiding scroll --- src/mobile-app/MobileApp.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mobile-app/MobileApp.tsx b/src/mobile-app/MobileApp.tsx index a7832f5a..ee8bdecc 100644 --- a/src/mobile-app/MobileApp.tsx +++ b/src/mobile-app/MobileApp.tsx @@ -581,8 +581,8 @@ export class BasePage extends AtomControl { setTimeout(() => { // this.contentElement.scrollTo(0, 0); - this.contentElement.scrollTop = 0; - this.contentElement.scrollLeft = 0; + // this.contentElement.scrollTop = 0; + // this.contentElement.scrollLeft = 0; }, 100); } @@ -719,7 +719,7 @@ export class BasePage extends AtomControl { this.element._logicalParent.appendChild(this.element); setTimeout(() => { if (this.scrollTop) { - this.contentElement.scrollTop = this.scrollTop; + // this.contentElement.scrollTop = this.scrollTop; } this.element.dataset.pageState = "ready"; }, 1);