Skip to content

[Tooltip]: Support conditionally display tooltip only if trigger content overflows. #3865

@mayank1513

Description

@mayank1513

Feature request

Overview

Enhance tooltip trigger. Add overflowOnly prop to show tooltip only if trigger content overflows or ellipses were used.

Examples in other libraries

Who does this impact? Who is this for?

Those who want to show long content in tooltip, but not show tooltip if content is fully visible.

Additional context

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