Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect rendering / overlapping text / "stuck" lines when inserting list/heading above text #931

Open
tipa opened this issue Nov 20, 2020 · 1 comment

Comments

@tipa
Copy link

tipa commented Nov 20, 2020

Expected

I can make lists, headers etc. and the text re-layouts itself without issues

Observed

In certain situation, lines below a header, list or bold text are not rendered correctly but on the incorrect vertical position.

Reproduced

  1. Start demo app
  2. Type a few plain text lines on the top
  3. Make first line to list
  4. (optional) type text to force line break on line or press enter button to generate more list items

Comments

  • I tried to find what causes this problem for multiple hours, whiteout success.
  • The issue can also be observed when changing text to a heading (instead of a list) or when converting text to bold text - so anything that changes the line height...?
  • It seems like the problematic lines are "stuck" on a certain vertical position
  • The problem can be "resolved" by calling "refreshText()" on the visual editor or by placing the cursor on the line that is incorrectly rendered

Tested

OnePlus 5 on Android 10 with v1.0
Pixel 5 on Android 11 with v1.0
Android Simulator on Android 10 & 6 with v1.0

Video: recordedVideo2020-11-20-135142.zip

Screenshot_20201120-133637
image

@imthiaz
Copy link

imthiaz commented May 24, 2021

Hello

Even we have used aztec library in our application and we are also facing the same issue when user applies ordered list option for one of the middle lines.

Not sure if they will fix this issue. But if you have found a fix let me know please as it would help us improve the performance of our application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants