Hello guys , I did a drop down compoennt that open , if click inside and close if click outside . I used this function to detect INSIDE / OUTSITE -
this is the image of my component - https://ibb.co/WxVPrCY
It works , but I tried to use this inside VUE Modal , and this function to detect inside / outside the compoent , does not work inside the VUE modal .
I wold like to detect a click inside the VUE Modal , but NOT inside my component , or outside the component . Does any one there had the same problem ?