Whenever I made the position style \'absolute\' for this view, it disappears. I have no idea why it is happening.
import React, { Component } from \'react\'; imp
I solved mine by giving parent component a flex:
position:'relative', flex:1
Just dropping it soo it could be helpful to people.