element-hq / element-hq/element-x-ios

Text in text editor is not centered vertically with small DT size

Open
#1,744 1 comment 0 reactions 0 assignees View on GitHub
A-Rich-Text-Editor O-Occasional S-Tolerable T-Defect Z-Labs
Dominant language
Swift
Stars
945
Forks
372
Avg merge
21h 42m
Merged PRs (30d)
67

Description

### Steps to reproduce

1. open a room timeline
2. look at the "Message..." placeholder in composer and notice it is offset to the top
3. type some text into the composer and notice it is also offset

### Outcome

#### What did you expect?
The text to be properly centered vertically
#### What happened instead?
The text and placeholder are offset a few pixels to the top relative to the composer and the buttons on the sides
![IMG_3445](https://github.com/vector-im/element-x-ios/assets/29716248/2309e8cf-c47c-49dd-818e-842a86f774be)
![IMG_3445 2](https://github.com/vector-im/element-x-ios/assets/29716248/ad4fbd61-dc7b-47b3-bfb2-bb9bab12c3de)

### Your phone model

iPhone 13 mini / iPad Pro

### Operating system version

iOS 17 RC / iPadOS 16.6.1

### Application version

1.2.9 (71)

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.