AztecEditor-iOS icon indicating copy to clipboard operation
AztecEditor-iOS copied to clipboard

Cursor Size Increases on Second Line

Open Shankulkarni opened this issue 1 year ago • 1 comments

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:

  1. Open the Aztec Example app.
  2. Select the “Empty Demo” editor.
  3. Enter some text on the first line.
  4. Press return to go to a new line.
  5. 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

image

Smartphone (please complete the following information):

  • Device: iPhone 15 PRO
  • OS: iOS 17.5
  • Version 1.19.11

Shankulkarni avatar Aug 07 '24 07:08 Shankulkarni

The same issue here, also the line space is too big

FlashTang avatar Feb 11 '25 18:02 FlashTang