Skip to content

[Tooltip] Open relative to the mouse #8759

Closed
@victornoel

Description

@victornoel

proposal:

Add an option to tooltip so that the position is relative to the mouse position and not the element position.

What is the expected behavior?

We should be able to have the tooltip appear next to the mouse.

What is the current behavior?

When there is a tooltip attached to a big (visually) element, the tooltip appears around the component, but very far from the mouse.

What is the use-case or motivation for changing an existing behavior?

Sometimes it makes no sense to have the tooltip so far from the mouse: the user is expecting it to appear close.

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsarea: material/tooltipfeatureThis 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