Absolute and Flexbox in React Native

前端 未结 3 1180
轻奢々
轻奢々 2020-12-23 20:00

I would like to put a white bar which would take all of the width at the bottom of the screen. To do so I thought about using absolute positioning with the inhe

3条回答
  •  再見小時候
    2020-12-23 20:55

    Ok, solved my problem, if anyone is passing by here is the answer:

    Just had to add left: 0, and top: 0, to the styles, and yes, I'm tired.

    position: 'absolute',
    left:     0,
    top:      0,
    

提交回复
热议问题