react-native-navigation 8.2.2 → 8.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.e2e.js CHANGED
@@ -1,4 +1,3 @@
1
- import "setimmediate";
2
1
  import { LogBox } from 'react-native';
3
2
 
4
3
  LogBox.ignoreAllLogs();
@@ -316,10 +316,12 @@ public class BottomTabsController extends ParentController<BottomTabsLayout> imp
316
316
  @Override
317
317
  protected WindowInsetsCompat onApplyWindowInsets(View view, WindowInsetsCompat insets) {
318
318
  Insets sysInsets = insets.getInsets(WindowInsetsCompat.Type.systemBars());
319
- view.setPaddingRelative(0, 0, 0, sysInsets.bottom);
320
- return WindowInsetsCompat.CONSUMED;
321
- }
319
+ Insets imeInsets = insets.getInsets(WindowInsetsCompat.Type.ime());
322
320
 
321
+ int bottomInset = (imeInsets.bottom > 0) ? 0 : sysInsets.bottom;
322
+ view.setPaddingRelative(0, 0, 0, bottomInset);
323
+ return insets;
324
+ }
323
325
 
324
326
  @RestrictTo(RestrictTo.Scope.TESTS)
325
327
  public BottomTabs getBottomTabs() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "8.2.2",
3
+ "version": "8.3.0",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,
@@ -122,7 +122,6 @@
122
122
  "redux": "3.x.x",
123
123
  "remx": "3.x.x",
124
124
  "semver": "5.x.x",
125
- "setimmediate": "^1.0.5",
126
125
  "shell-utils": "1.x.x",
127
126
  "ts-mockito": "^2.3.1",
128
127
  "typedoc": "0.x.x",