You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was trying to run my own native dialog-based element in a vuejs 2.x app. Just found out neither the directive or the mixin works if put in a element. Also tried wrapping like this: <div v-on-clickaway="close"><dialog /></div>
But this also failed.
I could make it work with this syntax: <dialog><div class="innerWrapper" v-on-clickaway="close"><content tags /></div></dialog>
It is fine for my use case, but if someone else is facing the same issue, here's a possible fix. Also please mark me if there are better solutions for this =]
The text was updated successfully, but these errors were encountered:
Hi, I was trying to run my own native dialog-based element in a vuejs 2.x app. Just found out neither the directive or the mixin works if put in a element. Also tried wrapping like this:
<div v-on-clickaway="close"><dialog /></div>
But this also failed.
I could make it work with this syntax:
<dialog><div class="innerWrapper" v-on-clickaway="close"><content tags /></div></dialog>
It is fine for my use case, but if someone else is facing the same issue, here's a possible fix. Also please mark me if there are better solutions for this =]
The text was updated successfully, but these errors were encountered: