Check out example codes for "remove html scroll bar". It will help you in understanding the concepts better.

Code Example 1

/* Hide scrollbar for Chrome, Safari and Opera */
.any-element::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */
.any-element {
  -ms-overflow-style: none;
}

Learn ReactJs, React Native from akashmittal.com