Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree with maxWidth defined, cannot display ellipsis for text in TreeItemLayout [Fluent UI react-components (v9)] #29698

Closed
logicaloud opened this issue Oct 30, 2023 Discussed in #29689 · 1 comment

Comments

@logicaloud
Copy link

Discussed in #29689

Originally posted by logicaloud October 30, 2023
It seems it is no longer possible to display text ellipsis in a Tree with defined maxWidth. The previously suggested solution in #28392 stopped working, and the text simply wraps around:

image

See expected result here: https://codesandbox.io/s/great-lichterman-w3wf9f?file=/example.tsx

image

Is there way to display text ellipsis in a Tree with maxWidth?

If not possible, then please consider this to be a feature request.

@logicaloud logicaloud changed the title Tree with maxWidth defined, cannot display ellipsis for text in TreeItemLayout Tree with maxWidth defined, cannot display ellipsis for text in TreeItemLayout [Fluent UI react-components (v9)] Oct 31, 2023
@logicaloud
Copy link
Author

I'll close this issue for now to re-visit and may log a properly tagged issue later if I can't find a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant