[ic-tooltip] disableHover prop won't update once it's been set
Summary of the bug
If you try to update disableHover prop on tooltip after it's loaded, then nothing changes and the original disableHover value is used.
🪜 How to reproduce
Tell us the steps to reproduce the problem:
- Go to tooltip playground (should be done in #1970 work)
- Toggle disable hover
- See the error
🧐 Expected behaviour
Should be able to toggle the method for utilising a tooltip.
One dev suggests this might be a Storybook thing, where we need to keep the storybook arg in sync with the value in the component (using the updateArgs method?) Check if this bug still happens outside storybook, stackblitz?
This does seem to be an issue with the component. There will need to be a watch added on the disableHover Prop which then removes\adds the appropriate events that trigger the visibility of the tooltip