Check out example codes for "unity ui not seen". It will help you in understanding the concepts better.
Code Example 1
//Check the element's position z
//Check the element's layer and if it's being renderered
Learn ReactJs, React Native from akashmittal.com