material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

[material-ui][Autocomplete] Adding start adornment on small autocompletes causes text to wrap

Open TahaRhidouani opened this issue 10 months ago • 4 comments

Steps to reproduce

Link to live example: (stackblitz)

The startAdornment behavior used in an Autocomplete doesn't match that of a regular TextField. The Autocomplete wraps onto a new line when it gets too small.

Current behavior

image

Expected behavior

image

Context

No response

Your environment

No response

Search keywords: startAdornment autcomplete text wrap

TahaRhidouani avatar Apr 05 '24 13:04 TahaRhidouani

Working on a fix

TahaRhidouani avatar Apr 05 '24 13:04 TahaRhidouani

can you assign this to me

unaisshemim avatar Apr 07 '24 15:04 unaisshemim

Thanks for reporting. Looks like a bug.

ZeeshanTamboli avatar Apr 24 '24 09:04 ZeeshanTamboli

Yeah, I've already made a PR that fixes this issue, but I'm waiting on a review @mj12albert

TahaRhidouani avatar Apr 24 '24 14:04 TahaRhidouani