-
-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
bugSomething isn't workingSomething isn't workingstale-exemptUse this to prevent auto-stalling of an issueUse this to prevent auto-stalling of an issue
Description
Describe the bug
The title prop of the tooltip is reactive, but setting it to an empty string '' does not update the tooltip text and instead preserves the last non-empty value.
This only happens when using the directive form of the tooltip, and not the BTooltip component which does update to show an empty tooltip. I think it should be hidden when the title is empty, which would be compatible with BV.
The repro sandbox uses both the directive and component where the difference in behavior for this edge case can be noticed by clicking on the buttons.
Reproduction
Used Package Manager
npm
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstale-exemptUse this to prevent auto-stalling of an issueUse this to prevent auto-stalling of an issue