wordpress-mobile / wordpress-mobile/AztecEditor-iOS
Cursor Size Increases on Second Line
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
Describe the bug
The cursor size does not match the font size when typing in the editor. The cursor appears much larger than the font size, but this discrepancy only occurs after hitting return to go to a new line. The first line displays the correct cursor size.
To Reproduce
Steps to reproduce the behavior:
- Open the Aztec Example app.
- Select the “Empty Demo” editor.
- Enter some text on the first line.
- Press return to go to a new line.
- Type some additional text and observe the cursor size, which is larger than the font size.
Expected behavior
The cursor size should match the font size regardless of the line you are typing on.
Screenshots
https://github.com/user-attachments/assets/3cf0c993-8990-4cba-bb4b-780c770b3a7e
Smartphone (please complete the following information):
- Device: iPhone 15 PRO
- OS: iOS 17.5
- Version 1.19.11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Aztec Example app using the “Empty Demo” editor, comparing the cursor on the first line with the cursor after pressing return. Done means the cursor matches the entered font size on subsequent lines as well as the first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100