Adyen / lume

Lume is a component library for visual representations of data, built for Vue with D3.
https://lumedataviz.com
MIT License
37 stars 1 forks source link

Drop the need for `v-if="opened"` to render `lume-tooltip` properly #395

Closed joao-m-santos closed 5 months ago

joao-m-santos commented 5 months ago

Feature description

The lume-tooltip component should only mount/render if opened prop is true. Right now, it always renders, and depends on an external v-if from the parent component.

Problem/motivation

Currently, in order for the tooltip to render correctly, you need to add a v-if condition in <lume-tooltip> so that it displays properly and doesn't fly from the top-left corner on hover.

Describe alternatives you've considered

--

Additional context

--

Validations