Skip to content

Tooltip not repositioning itself when target node changes position #1158

@dvmoritzschoefl

Description

@dvmoritzschoefl

The usecase:
In a guided onboarding tour I want to show the user the "expand/collapse" button for a navbar which changes the layout of the page.

The problem:
After users press this button, the layout changes (the position of the highlight element). Now the highlight area and the tooltip will not update to its new position. If I then resize the window, it will correctly update the position.

I tried something similar with popper.js, which this library seems to use, and there it works as expected (meaning I can change positions using the console however I want, the tooltip will always follow), so I guess this is an issue with the internal state not updating?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions