How to use zIndex in react-native

后端 未结 5 1230
攒了一身酷
攒了一身酷 2020-12-23 13:19

I\'ve want to achieve the following:

The following images are what I can do right now, but that\'s NOT what I want.

Sample of code I have right now

5条回答
  •  星月不相逢
    2020-12-23 14:01

    I finally solved this by creating a second object that imitates B.

    My schema now looks like this:

    I now have B1 (within parent of A) and B2 outside of it.

    B1 and B2 are right next to one another, so to the naked eye it looks as if it's just 1 object.

提交回复
热议问题