ソースを参照

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 年 前
コミット
7688196481
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1
    0
      lib/android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java

+ 1
- 0
lib/android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java ファイルの表示

@@ -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