Skip to content

Commit

Permalink
hiding scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Jun 25, 2024
1 parent a1aea2c commit 8f0edde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mobile-app/MobileApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8f0edde

Please sign in to comment.