mapvue icon indicating copy to clipboard operation
mapvue copied to clipboard

@click event does not work in v-popup

Open edanweis opened this issue 2 years ago • 2 comments

@click events do not trigger any callback within mapbox <v-popup/> components. Only <a> elements seems to work. I'm using Vue 3 + Vuetify. Any ideas why?

edanweis avatar Feb 14 '23 12:02 edanweis

any content in <v-popop /> components are just string nodes. They can not interactive with outer components. You can check it by mapbox-gl official site popup

timeroute avatar Feb 15 '23 09:02 timeroute

So I would have to build another custom component. It would be great to have a slot for a custom child component within the popup component

edanweis avatar Feb 16 '23 12:02 edanweis