MD-Tooltip - Destroy when associated element is removed #880
Labels
enhancement
Enhancement to an existing feature or component
web component
@momentum-ui/web-components
The
md-tooltip
component relies on talk-back to themd-theme
component in order for proper popover operation with the nested shadRoots the library and apps built with it can employ.This can cause the tooltip itself to persist in view even though the original element it is associated with is gone. E.G. when a button has a tooltip and clicking that button navigates to another page.
Idea: add a one to one relationship between the element wrapped by the tooltip and the popover instance of the tooltip so that the popover's visibility mirrors that of the element it is assigned to.
Issue Type
Component or Pattern Affected
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: