From 566f446e598c4f4eefb69376ce6827ec0b1cd0c9 Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Tue, 12 Nov 2019 22:35:52 +0100 Subject: [PATCH] Reset awesome bar scrollbar when showing (#2195) --- .../org/mozilla/vrbrowser/ui/widgets/SuggestionsWidget.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/SuggestionsWidget.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/SuggestionsWidget.java index d28f48d36..7fae8ae32 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/SuggestionsWidget.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/SuggestionsWidget.java @@ -117,6 +117,7 @@ protected void initializeWidgetPlacement(WidgetPlacement aPlacement) { public void show(@ShowFlags int aShowFlags) { super.show(aShowFlags); mList.startAnimation(mScaleUpAnimation); + mList.post(() -> mList.setSelectionAfterHeaderView()); } @Override