React Native Android, why is fragment not visible after a certain offset?

39 views Asked by At

I have a native Fragment that I'm trying to embed in a React Native application. I've followed the documentation to replace the native view with the fragment when it loads. At first, it seemed to work alright but one immediate problem is that it is not respecting the vertical position of the view it is replacing:

enter image description here

When I tried changing the top position then it started disappearing:

enter image description here

I can see on the layout inspector the components are still there, however, nothing seems to be rendered

enter image description here

Any pointers or ideas as to what could be the problem? I'm guessing the native fragment is somehow trying to position itself absolutely to the window but otherwise I don't have any idea what could be the problem

0

There are 0 answers