Check out example codes for "DISABLE the Horizontal Scroll". It will help you in understanding the concepts better.

Code Example 1

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

Code Example 2

overflow-x: hidden

Learn ReactJs, React Native from akashmittal.com