react-tippy
react-tippy copied to clipboard
Changing some settings dynamically doesn't work
I tried to update the trigger
prop after the first render, and it doesn't work. The tooltip appears very broken.
Reproduction: https://codesandbox.io/s/l2nqy531vq
It does the same for the theme
and the interactive
props.
same here
You can create your own wrapper for react-tippy with key property, where key will be ${theme}${interactive}
. Every time when it changes it will recreate your component with new props