Long text overflows instead of wrapping in the TextArea #4546#4547
Long text overflows instead of wrapping in the TextArea #4546#4547skjulestad wants to merge 1 commit into
Conversation
Add missing width control to avoid overflow within a grid.
|
|
||
| return ( | ||
| <div data-component={OCCURRENCE_LIST_NAME} className='grid gap-y-2'> | ||
| <div data-component={OCCURRENCE_LIST_NAME} className='grid min-w-0 gap-y-2'> |
There was a problem hiding this comment.
The problem is only for single occurrence, you sure we need this here too?
There was a problem hiding this comment.
Yes, if not we keep min-w-auto default behavior.
Discovery: It might seem like textArea is wrapped in occurrence list even as a single component, to test make a new component text area input and inspect element.
|
|
||
| return ( | ||
| <div data-component={OCCURRENCE_LIST_NAME} className='grid gap-y-2'> | ||
| <div data-component={OCCURRENCE_LIST_NAME} className='grid min-w-0 gap-y-2'> |
There was a problem hiding this comment.
The problem is only for single occurrence, you sure we need this here too?
There was a problem hiding this comment.
Yes, if not we keep min-w-auto default behavior.
Discovery: It might seem like textArea is wrapped in occurrence list even as a single component, to test make a new component text area input and inspect element.
|
Put the fix into #4564 |
Add missing width control to avoid overflow within a grid.