I have a popup menu that I want to stay open when cookie pro is interacted with. i.e don't fire the click outside while the cookie policy modal is open
<section v-click-outside="close">
// popup in here
</section>
Mounted:
mounted() {
this.popupItem = this.$el
},
Method:
close() {
const isCookieProActive = window?.OneTrust?.IsAlertBoxClosed()
if (!isCookieProActive) {
this.isVisible = true
return
}
this.isVisible = false
},
Is there a way to stop the click outside while the alert box is open?