Skip to content

fix: text break strategy - layout calculation - android - #218

Merged
exploIF merged 1 commit into
mainfrom
@exploif/fix-text-break-strategy
Oct 27, 2025
Merged

exploIF merged 1 commit into
mainfrom
@exploif/fix-text-break-strategy

Conversation

@exploIF

@exploIF exploIF commented Oct 27, 2025

Copy link
Copy Markdown
Collaborator

Fixes issue when component height is calculated incorrectly because of text breaking behavior.
This PR ensures that breaking strategy used for displaying text and calculating height is consistent. Additionally, starting from now we use BREAK_STRATEGY_HIGH_QUALITY which is consistent with default React Native Android behavior

Screen.Recording.2025-10-27.at.09.59.51.mov
Screen.Recording.2025-10-27.at.10.01.09.mov

@exploIF
exploIF requested a review from szydlovsky October 27, 2025 09:06
@exploIF
exploIF merged commit a261ef6 into main Oct 27, 2025
5 checks passed
@exploIF
exploIF deleted the @exploif/fix-text-break-strategy branch October 27, 2025 12:20
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