Check out example codes for "stop the client from scrolling". It will help you in understanding the concepts better.

Code Example 1

body {
	overflow:hidden;
}

Learn ReactJs, React Native from akashmittal.com