future 1 жил өмнө
parent
commit
7ef3e1eee4

+ 3 - 1
assets/script/ui/quarter_rank_view/quarter_rank_view.ts

@@ -116,7 +116,9 @@ export class quarter_rank_view extends base_ui {
                     }
 
                     if(this.page==1) {
-                        this.rank_scrollView.getComponent(ScrollView).scrollToTop()
+                        setTimeout(()=>{
+                            this.rank_scrollView.getComponent(ScrollView).scrollToTop()
+                        },100)
                     }
 
                     if(this.page>=total_page_number) {