OnClick Mobile Shows but doesnt dissappear

Thanks for the reply bruno, i have tried with the hide feature on mobile but want it so you click off anywhere on the page the container dissapears… as you can see the info vector image is inside the container box, but when i set it to hide when clicking anywhere in the container box, the onclick box flashed for like 2 seconds then went

Please see the code with image