Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inset bug for android when using drawer with newArch #70

Open
3 tasks done
ronickg opened this issue Feb 10, 2025 · 1 comment
Open
3 tasks done

Inset bug for android when using drawer with newArch #70

ronickg opened this issue Feb 10, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ronickg
Copy link

ronickg commented Feb 10, 2025

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

The bug happens when using expo drawer nested under a stack. Only happens with new arch on android. When navigating to the test screen for some reason the views height is bigger then it should be. Not sure if its somehow adding the statusbar or bottom nav height to the total height or something else.

newArch on:

Image

newArch off:

Image

Library version

1.4.3

Environment info

System:
  OS: macOS 15.3
  CPU: (24) arm64 Apple M2 Ultra
  Memory: 298.67 MB / 64.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.16.0
    path: /usr/local/bin/node
  Yarn:
    version: 1.22.22
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.9.2
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/ronaldgoedeke/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK:
    Android NDK: 26.1.10909125
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12483815
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.10
    path: /usr/bin/javac
  Ruby:
    version: 3.2.2
    path: /Users/ronaldgoedeke/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.1.3
    wanted: ^15.1.3
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.7
    wanted: 0.76.7
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Steps to reproduce

  1. Turn on/off newArch

Reproducible sample code

Bare bones sample repo created with expo stack:

https://github.com/ronickg/edge-to-edge-newArch-bug
@ronickg ronickg added the bug Something isn't working label Feb 10, 2025
@zoontek
Copy link
Owner

zoontek commented Feb 11, 2025

Looks like a react-navigation issue to me, did you opened an issue there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants