@scorpion61
Posted
Hi MKSAWIC, You can use a hide class on share popup box which you will declare display: none on css, then activate it with JS. You can make a click event on popup, if event.target equals to window object, then add class of hide to the popup. I hope i was able to explain the logic :D
@mksawic
Posted
@scorpion61 Hi, thanks for your advice. Actually I've made a document click event which checks if the popup is "active" and depending on event.target make the popup to dissapear or stay :)