-
Notifications
You must be signed in to change notification settings - Fork 165
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
Search autocomplete option's main text shrinks before short text #419
Comments
@AndrewLester, I would like to work on this. Please assign. Thank you. |
Thanks @AndrewLester for filing the issue! Assigning it to @Deepanshu039 on first come first serve basis :) |
@srish can I still work on this? |
@Deepthi562 Only one person can work on an issue at a time :) |
We should update #467 to fix this 🙏 |
@tuxology I was working on this issue but want to ask some questions before opening a PR
|
I think I can attempt to answer most of your questions @brrkrmn:
|
Describe the bug
Search autocomplete option's main text is shrinking before their short text when the option's space is limited. See below:
To Reproduce
Expected behavior
The creator name gets shrunk first (truncated by ellipsis), then the main text. To do this, you'll probably want to add flex shrink to the shortText inside the Option component. Give the shortText a higher flex shrink than the main text.
The text was updated successfully, but these errors were encountered: