murilo
264
1
Vue

detect outside event does not work inside VUE Modal

Posted 5 months ago by murilo

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 -

https://jsfiddle.net/Linusborg/yzm8t8jq/

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 ?

Thanks

Please sign in or create an account to participate in this conversation.