-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Describe the feature that you would like added
Given I have some text
And it is long enough to be truncated
Then I would like to notify the parent component
The utility of this would be to be able to trigger a Tooltip only when the text inside the component is to be truncated.
My first thought is to add an onOverflow prop that could hook into state on the parent and allow a conditional render of the Tooltip or TooltipHost.
What component or utility would this be added to
<Text />
Have you discussed this feature with our team, and if so, who
I have not.
Additional context/screenshots
I am fairly new to FluentUI, so if there is an alternative available path to achieve what I'm going for I would love to hear it! Enjoying things so far otherwise 👍