Check out example codes for "display none but keep space". It will help you in understanding the concepts better.

Code Example 1

div {
    visibility: hidden;
    /* visibility: visible */
}

Learn ReactJs, React Native from akashmittal.com