Skip to content

Long text overflows instead of wrapping in the TextArea #4546#4547

Closed
skjulestad wants to merge 1 commit into
masterfrom
issue-4546
Closed

Long text overflows instead of wrapping in the TextArea #4546#4547
skjulestad wants to merge 1 commit into
masterfrom
issue-4546

Conversation

@skjulestad

Copy link
Copy Markdown
Collaborator

Add missing width control to avoid overflow within a grid.

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'>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is only for single occurrence, you sure we need this here too?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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'>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is only for single occurrence, you sure we need this here too?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@ashklianko

Copy link
Copy Markdown
Member

Put the fix into #4564

@ashklianko ashklianko closed this Jun 24, 2026
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

Successfully merging this pull request may close these issues.

Long text overflows instead of wrapping in the TextArea

3 participants