Check out example codes for "css hide scrollbar but allow scroll". It will help you in understanding the concepts better.

Code Example 1

html {
  overflow:   scroll;
}
::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}

Code Example 2

overflow: hidden;

Code Example 3

/* 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