Open pjamessteven opened 1 year ago
same issue, did you fix it?
No at the time I gave up and wrote my own component but since then I have learnt that vue 3 does this proxying of variables which can cause problems especially with third party libraries. I ran into some issues with leaflet related to this. Not sure if it will solve the problem, but try experimenting with toRaw(variable) if passing component variables to pswp.
https://stackoverflow.com/questions/65981712/uncaught-typeerror-this-map-is-null-vue-js-3-leaflet
On Thu, 3 Aug 2023, 3:02 am jdavidrsantos, @.***> wrote:
same issue, did you fix it?
— Reply to this email directly, view it on GitHub https://github.com/Sitronik/vue3-picture-swipe/issues/8#issuecomment-1662376140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AES7C2DFWXUJ5WJABDVPVKDXTJTYVANCNFSM6AAAAAAVFLNJD4 . You are receiving this because you authored the thread.Message ID: @.***>
I'm using Vue 3, and trying to use it in an older options API component.