Browse Source

Disable hide BottomTabs on scroll

Originally PR'd in #5338 but since the diff was too big I'm committing it here.
Guy Carmeli 5 years ago
parent
commit
7688196481

+ 1
- 0
lib/android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java View File

@@ -23,6 +23,7 @@ public class BottomTabs extends AHBottomNavigation {
23 23
     public BottomTabs(Context context) {
24 24
         super(context);
25 25
         setId(R.id.bottomTabs);
26
+        setBehaviorTranslationEnabled(false);
26 27
         if (BuildConfig.DEBUG) setContentDescription("BottomTabs");
27 28
     }
28 29