How to use zIndex in react-native

后端 未结 5 1204
攒了一身酷
攒了一身酷 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 13:56

    I believe there are different ways to do this based on what you need exactly, but one way would be to just put both Elements A and B inside Parent A.

            // parent of A
              // element A
              // element A
              // element B
        
    

提交回复
热议问题