-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popup's [x] showing before popup is opened #55
Comments
Ok, realized I was missing the slot="popup" property of mgl-popup. So with that I'm not getting the funky [x] displaying by each of my markers. And then I realized that the docs said
Which I took to mean you should add v-on:click="togglePopup()" to the maker but that doesn't seem to do anything. |
OK, figured out that you need to use mgl-popup WITHOUT adding slot="popup" to it and without coordinates either. The example is rather misleading.
Now if I could just figure out how to get click events on markers to trigger other actions |
@bmeredyk , it's more a workaround than a solution for your |
Just starting to try out vue-mapbox and generally have it working but am finding that my popups are for some reason partially showing even before I've clicked on the corresponding marker to actually trigger their display.


This happens for all markers on the map. Then when you click on a marker the actual popup appears as one would expect (and the other marker's funky [x] popups go away)
The text was updated successfully, but these errors were encountered: