Check out example codes for "how to scroll fixed position". It will help you in understanding the concepts better.

Code Example 1

.fixed-content {
    top: 0;
    bottom:0;
    position:fixed;
    overflow-y:scroll;
    overflow-x:hidden;
}

Learn ReactJs, React Native from akashmittal.com