bluesky-social / bluesky-social/react-native-uitextview

Text cannot be centered after setting lineHeight

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
418
Forks
44
Avg merge
2d 57m
Merged PRs (30d)
4

Description

![Image](https://github.com/user-attachments/assets/b9145707-2f56-484d-b371-067dfb1b2258)

As shown in the picture, after I set lineHeight, the text is at the bottom, which is inconsistent with RNText.

How can I make the text position consistent with RNText?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported behavior in the React Native UITextView implementation with lineHeight set, then compare its vertical text positioning with RNText. The issue names no source file or test; done means text remains vertically consistent with RNText after lineHeight is applied.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.