Skip to content

Commit

Permalink
Issue mozilla-mobile#22939: Ensure Home always starts from the top
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketsroger committed Dec 21, 2021
1 parent 34c0a17 commit 8fba94e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ class SessionControlView(
override fun onLayoutCompleted(state: RecyclerView.State?) {
super.onLayoutCompleted(state)

// scroll to top placeholder
view.scrollToPosition(0)
JumpBackInCFRDialog(view).showIfNeeded()
}
}
Expand Down

0 comments on commit 8fba94e

Please sign in to comment.