1 year ago

detect outside event does not work inside VUE Modal

Posted 1 year 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 -

this is the image of my component -

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 ?


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