Bluesky app fork with some witchin' additions 💫

Fix missing pixel row in text rendering on iOS (#9882)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

authored by samuel.fm

Claude Opus 4.6 and committed by
GitHub
79e27e30 6be77517

+5 -3
+5 -3
patches/react-native-uitextview+1.4.0.patch
··· 1 1 diff --git a/node_modules/react-native-uitextview/ios/RNUITextViewShadow.swift b/node_modules/react-native-uitextview/ios/RNUITextViewShadow.swift 2 - index c34ba71..13d576a 100644 2 + index c34ba71..3602856 100644 3 3 --- a/node_modules/react-native-uitextview/ios/RNUITextViewShadow.swift 4 4 +++ b/node_modules/react-native-uitextview/ios/RNUITextViewShadow.swift 5 - @@ -159,13 +159,23 @@ class RNUITextViewShadow: RCTShadowView { 5 + @@ -159,13 +159,25 @@ class RNUITextViewShadow: RCTShadowView { 6 6 let maxSize = CGSize(width: CGFloat(maxWidth), height: CGFloat(MAXFLOAT)) 7 7 let textSize = self.attributedText.boundingRect(with: maxSize, options: .usesLineFragmentOrigin, context: nil) 8 - 8 + 9 9 - var totalLines = self.lineHeight == 0.0 ? 0 : Int(ceil(textSize.height / self.lineHeight)) 10 10 - 11 11 - if self.numberOfLines != 0, totalLines > self.numberOfLines { ··· 27 27 } 28 28 29 29 - self.frameSize = CGSize(width: CGFloat(maxWidth), height: CGFloat(CGFloat(totalLines) * self.lineHeight)) 30 + + finalHeight = ceil(finalHeight) 31 + + 30 32 + self.frameSize = CGSize(width: CGFloat(maxWidth), height: finalHeight) 31 33 return YGSize(width: Float(self.frameSize.width), height: Float(self.frameSize.height)) 32 34 }