Skip to content

Tooltip issue with interactive option #195

Closed
@hugo-lovighi

Description

@hugo-lovighi

Hi KoriGan !

I have an issue with tooltip component and VueRouter.

<l-tooltip :options="{ permanent: 'true', interactive: 'true'}">
    <router-link to="/">Link to route</router-link>
</l-tooltip>

When I pass 'interactive' tooltip option to true and try to navigate clicking on tooltip link, the navigation is ok but I got error on beforeDestroy lifecycle in chrome console for each tooltip component I have.

Error in beforeDestroy hook: "TypeError: Cannot read property '_targets' of null"

This error disappear if I remove interactive option.

Any idea ?

PS: Thank you for your work and time you spent on this project !

Browsers Affected

  • Chrome

Versions

  • Leaflet: v1.3.1 as dependencies
  • Vue: v2.5.16
  • Vue2Leaflet: v1.0.2
  • VueRouter: 3.0.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions