Skip to content

Tooltip position is centred on screen when target element spans across multiple lines. #57

@andyroberts

Description

@andyroberts

If the element that triggers a tooltip spans across two or mores lines the tooltip appears centred on within the viewport rather than positioned close to the appropriate target element.

So you may have a paragraph containing "Some Link" which triggers a tooltip and the browser is at a particular width that causes the link to be split over two lines, i.e., "Some" at the end of line 1 and "Link" at the beginning of line 2. That's when the issue occurs.

I couldn't see anything in the docs that mentioned this as a known limitation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSoftware defects or other problems that should be fixed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions