Skip to content

Layout issues when using react-native-true-sheet (New Arch enabled) #12396

@lodev09

Description

@lodev09

Current behavior

I'm a library author of react-native-true-sheet and I'm having compatibility issues with react-navigation/native when navigating back and forth. This is only happening when New Arch is enabled.

Related issues in the repo: lodev09/react-native-true-sheet#112 lodev09/react-native-true-sheet#110

Expected behavior

It should render views and components properly when navigating back and forth.

Reproduction

https://github.com/lodev09/react-native-true-sheet/tree/main/example
https://github.com/timgcarlson/true-sheet-new-arch

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-drawer-layout
  • react-native-tab-view

Environment

  • [] I've removed the packages that I don't use
package version
@react-navigation/native 7.0.14
@react-navigation/bottom-tabs
@react-navigation/drawer
@react-navigation/material-top-tabs
@react-navigation/stack
@react-navigation/native-stack 7.2.0
react-native-drawer-layout
react-native-tab-view
react-native-screens 4.5.0
react-native-safe-area-context 5.1.0
react-native-gesture-handler
react-native-reanimated 3.16.3
react-native-pager-view
react-native 0.76.3
expo
node 18.20.5
npm or yarn 1.22.22

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions