Closed martindzejky closed 2 years ago
@KABBOUCHI do you accept PRs for this? It looks like a trivial fix which I could make if it helps.
@KABBOUCHI do you accept PRs for this? It looks like a trivial fix which I could make if it helps.
Can you show me the solution so I can implement it??
we need to break the reference here https://github.com/KABBOUCHI/vue-tippy/blob/6a98ac4892ee42fd517c594078d23f71264e4bba/src/components/Tippy.ts#L72
and we also need to remove tag
, contentTag
and contentClass
from options
too
we need to break the reference here
Exactly, just do let options = {...props} as TippyOptions & ...
.
fixed in 6.0.0-alpha.37
In the Tipppy component, there's this:
https://github.com/KABBOUCHI/vue-tippy/blob/6a98ac4892ee42fd517c594078d23f71264e4bba/src/components/Tippy.ts#L76
which also deletes the option from the props, and therefore the following code never works. I cannot use the
:to="element"
option of the Tippy component. Is this a bug?