Skip to content

prevent alternatives text overflow in UnmaintainedLabel component#1745

Merged
Simek merged 2 commits intoreact-native-community:mainfrom
darae07:unmaintainedLabel-style
Jul 2, 2025
Merged

prevent alternatives text overflow in UnmaintainedLabel component#1745
Simek merged 2 commits intoreact-native-community:mainfrom
darae07:unmaintainedLabel-style

Conversation

@darae07
Copy link
Copy Markdown
Contributor

@darae07 darae07 commented Jul 2, 2025

📝 Why & how

Added flexWrap: 'wrap' to the UnmaintainedLabel component to prevent text overflow when the alternatives list is long or contains lengthy library names.

AS-IS TO-BE

✅ Checklist

There are no changes!

Copy link
Copy Markdown
Member

@Simek Simek left a comment

Choose a reason for hiding this comment

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

Hey @darae07, nice catch, thanks for the correction! 👍

Can we also increase the updatedAtContainer children gap to at least 16, so the UnmaintainedLabel wrapper is not that close to the update at icon?

@darae07
Copy link
Copy Markdown
Contributor Author

darae07 commented Jul 2, 2025

Hi @Simek, thanks for the feedback! 👍
I’ve updated the gap to 24 for better spacing. Attached is a snapshot reflecting the change.
image

Copy link
Copy Markdown
Member

@Simek Simek left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the quick update! 🚀

@Simek Simek merged commit 57cb670 into react-native-community:main Jul 2, 2025
2 checks passed
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.

2 participants