-
Notifications
You must be signed in to change notification settings - Fork 25.2k
fix: Improve text line height calculation to properly align text on iOS #46884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ArekChr
wants to merge
61
commits into
facebook:main
Choose a base branch
from
ArekChr:improve-lineheight-calc-ios
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
f998a9a
improve text line height calculation on ios
ArekChr 8168cf0
add comments
ArekChr 164bf0c
add safeguards to prevent out-of-bounds crash when accessing text att…
ArekChr f79a614
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr b044af9
codegen feature flags
ArekChr 4844731
Fix namespace for ReactNativeFeatureFlags in RCTTextView
ArekChr 76faa56
refactor: separate feature flat per platform
ArekChr 9e5ed70
fix: add React-featureflags pod for dynamic frameworks configuration
ArekChr 09118be
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 193d804
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr a41f8c8
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 2ec676c
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 848e4b2
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 045ced9
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr c46a96f
update feature flags
ArekChr d4e44de
fix: feature flag import in rn-tester dynamic frameworks
ArekChr b950279
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 3610212
fix: update feature flags
ArekChr ffc5503
Merge remote-tracking branch 'upstream/main' into improve-lineheight-…
ArekChr 7fd5214
Merge remote-tracking branch 'upstream/main' into improve-lineheight-…
ArekChr 4e35916
fix: add missing expectedReleaseValue to feature flags config
ArekChr 81e560b
refactor: remove unused flag on android
ArekChr a52fb88
Merge remote-tracking branch 'upstream/main' into improve-lineheight-…
ArekChr 3a13ddf
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 42a65c1
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 44d47fe
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 9293ecd
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr f935bef
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr eb3e471
simplify offset calculation
ArekChr 074e047
Handle font multiplier for dynamic type in text storage fallback
ArekChr ec11dc6
Exit early if minimumLineHeight is not set
ArekChr 696c599
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr a763b38
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 0e2dbb6
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 59c85f1
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 16226ba
update feature flags
ArekChr 672ef86
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 17ee8c8
fix positioning when lineheight > textheight
ArekChr a8b5557
fix: font metrics on ios
ArekChr 7bed2d9
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr b911e26
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr a822789
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 582e1be
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr ffaa3ae
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 93e547c
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr b8e9f96
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr cbb8efe
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr b361acb
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 8ec3967
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr a17189e
remove old arch impl
ArekChr 10fe311
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr be99178
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 54bd5d7
Update RCTParagraphComponentView.mm
ArekChr 328ea06
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 3e94c38
fix: run featureflags gen
ArekChr c7407af
sync pods in rn-tester
ArekChr 856cfaa
fix(iOS): properly modify frame for line height centering
ArekChr 8a0de4a
fix(iOS): align line height centering rounding with Android
ArekChr be95918
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr 8ddb782
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr adc2645
Merge branch 'main' into improve-lineheight-calc-ios
ArekChr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.