Skip to content

[Bug][Android]: Conflict with react-native-modal when Fabric/new architecture enabled #2167

Open
@Dat-Mobile

Description

@Dat-Mobile

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

Android

What happened?

The modal shows up with blank background and its children are collapsed
I already created the bug but it was marked as invalid #2166

Reproduction steps

Place both components in the same screen then the issue happen:

import Modal from "react-native-modal";
import BottomSheet, {...} from "@gorhom/bottom-sheet";

This issue only happen if:

  • New architecture enabled
  • On Android, both debug and release
  • (react-native-modal) and in the same screen

Here's the button I press to open the react-native-modal:

Then the modal shows up with blank background and its children are collapsed

When I remove from the screen, the works fine again

Reproduction sample

https://snack.expo.dev/@liudmyla.chubar/drag-down-issue

Relevant log output

Reproduction sample above is not of the issue!!
I only use it so that the issue won't marked as invalid

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions