Skip to content

How do I change the anchor point of a tooltip? #1231

@iamkd

Description

@iamkd

Hi! I've been trying to make a tooltip display to the left of the pointer. See https://codesandbox.io/s/suspicious-faraday-3mtds. I've tried adding the offset (-200px) to the tooltipLeft parameter, but it does not detect bounds correctly. How can I fix that?

I'd really like to be able to use and specify the anchor point of a tooltip (top-left, bottom-right, center-left etc.) Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions