Skip to content

Component: Tooltip. Add ability to enable tooltip only if element has ellipsis (three dots in the end of text element) #12246

@AndrewAKovalenko

Description

@AndrewAKovalenko

Describe the feature you would like to see added

It would be great to have possibility to enable tooltip only if element has overflow

Related stack overflow issue
https://stackoverflow.com/questions/5474871/html-how-can-i-show-tooltip-only-when-ellipsis-is-activated

Is your feature request related to a problem?

No response

Describe the solution you'd like

<span [tooltipShowOnEllipsis]="true" pTooltip="Some very long name that should be seen if it has ellipsis">
   Some very long name that should be seen if it has ellipsis
</span>

Describe alternatives you have considered

No response

Additional context

No response

Metadata

Metadata

Labels

LTS-PORTABLEIssue's fix will be ported to supported LTS versionsResolution: Help WantedIssue or pull request requires extra help and feedbackResolution: Needs Upvote 👍Support this idea or feature by adding an upvote. Community feedback helps with prioritization.Status: DiscussionIssue or pull request needs to be discussed by Core TeamType: New FeatureIssue contains a new feature or new component request

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions