Check out example codes for "css disable mouse events". It will help you in understanding the concepts better.

Code Example 1

pointer-events: none;

Learn ReactJs, React Native from akashmittal.com