-
Notifications
You must be signed in to change notification settings - Fork 379
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
Permanent tooltips are not reactive #446
Comments
@yohannlegrand Sorry for the very slow reply, I will investigate this |
Confirming this bug. |
Confirming too: updating marker coordinates from Vue moves marker, but not tooltip. When dragging marker with mouse/tap, everything's fine. |
Are there any news on this topic @DonNicoJs ? It would be very handy if the tooltip options could be updated reactively |
Discovered this today as well. Didn't realize it was because of the permanent option til I found this post. Edit: I removed the permanent option, but tooltips are not being removed when a v-if condition is false |
I submitted PR #718 |
PR from @kuromoka is now merged |
Description
Tooltips set with 'permanent' option aren't reactive.
In my application, the refresh of my data doesn't update the tooltips when they are set with 'permanent: true'.
For example, I try to update the option object when data.isActive is updated (I use Vuex for reactivity and I loop through my data to show the tooltips)
But Leaflet doesn't update the tooltip.
Versions
The text was updated successfully, but these errors were encountered: