-
Notifications
You must be signed in to change notification settings - Fork 9
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
React Native Modal Does Not Display Properly When Used in the Same Screen as a ReorderableList (Android) #17
Comments
Hello @juanmigdr, thanks! So I was able to reproduce the issue after upgrading from RN 0.75.3 to 0.76.5 bridgeless. I solved it in your example by wrapping the Modal into a View like so:
I need to dive into it a bit more, but I'm not sure this is an issue with the reorderable list itself. I see it could be related to reanimated as there seems to be some similar issues. |
That fixes it, thank you so much for the prompt answer! 🎉 |
Closing for now as it doesn't seem to be caused by the library itself. |
same for me, when update my react native app from o.75.4 to 0.76.5, the modal not working in android, since on ios it work perfectly Put the Modal in a View container resolve my case also. Thanks |
This Worked for me |
Hey @omahili, thanks for the amazing library, it is looking amazing in one of my projects! I am currently having a small issue on android for which maybe you have a solution?
Description
When using a Modal component (e.g., from React Native or a custom modal) on the same screen as a ReorderableList (from react-native-reorderable-list), the modal does not display correctly on Android. It either appears partially off-screen, becomes non-interactive, or fails to render entirely.
This behavior is observed primarily on Android and works as expected on iOS.
Steps to reproduce
Expected Behavior
The Modal should render properly, overlaying the screen content as expected.
Example
If you remove the ReorderableList, the modal shows up perfectly
The text was updated successfully, but these errors were encountered: