microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
18.44k stars 2.72k forks source link

[Feature]: Addition to Tooltip for managing overflow #33073

Open gouttierre opened 5 days ago

gouttierre commented 5 days ago

Area

React Components (@fluentui/react-components)

Describe the feature that you would like added

In the 8th version, there's a utility feature for managing overflow and tooltips, showcased in the Tooltip example titled "Tooltip only on overflow."

However, in version 9, this particular example is absent from the ToolTip code samples, leading to some confusion among partners who are updating their products to v9.

To bridge this transition smoothly for migration, it would be beneficial to include a "Tooltip only on overflow" example in version 9's React Storybook.

Additional context

Reported by Azure Portal [Nicole Thuna]

Have you discussed this feature with our team

Gouttierre Gomes, Paul Gildea

Validations

Priority

High

tudorpopams commented 1 day ago

@mainframev can you please check if this can be achieved with the current implementation of Tooltip / Overflow?