Skip to content

Reposition tooltip on window resize #72

@stevenbenner

Description

@stevenbenner

Tooltip placement is based on the viewport size but the tooltip position is not currently being updated if the window is resized. This will make an open tooltip shift from its position if the window changes size.

PowerTip should probably hook the reposition() API method to the window resize event, and only invoke it if there is a tooltip currently open.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureSoftware improvements that involve implementing new features.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions