Skip to content

Replace updateFor w/ MutationObserver #378

@maxfierke

Description

@maxfierke

updateFor is kind of a hack to induce a call to update the tooltip display if some content changes. Instead, I think we can wire something up with a MutationObserver to update the tooltip if content nodes change. We might even be able to enhance this by only updating the tooltip when mutations that affect the width or height happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.xember-tooltips Release series 3.xenhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions