Skip to content

feature(MatTooltip): Possibility to define current tooltip position #19527

@IrisWight

Description

@IrisWight

Use Case

When the element with tooltip reaches the viewport border, the tooltip automatically changes its position from the one that was originally set in matTooltipPosition input. In case when we add arrow to the tooltip we can’t change the position of it.

Screenshots:
1
2

Code: https://stackblitz.com/edit/angular-bgbato
Please add possibility to define current tooltip position so we can link the arrow to it or we’ll appreciate any help with this matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis issue represents a new feature or feature request rather than a bug or bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions