Exploring the Material-UI autocomplete feature for the first time has brought some challenges my way. I am working with usernames, which have a specific length limit but could exceed the space available in the autocomplete view.
https://i.sstatic.net/O8t1I.png
Upon examining the sandbox and image provided, it is evident that longer words get cut off due to size constraints.
Hence, I am seeking a solution to either dynamically expand the dropdown's width based on option string length when clicked or implement a word-break for overly long words.
While experimenting with various methods in the sandbox, I have been unable to successfully handle text overflow or break lengthy words into new lines.
If anyone could offer guidance on resolving this issue, I would greatly appreciate it.