Skip to content

RichText based blocks do not handle it well when text is quickly added to a new line #1941

@mchowning

Description

@mchowning

Description

I see some issues when adding new lines and quickly adding text to the new line. On Android, I see disappearing letters/words. iOS has that as well but also has seems to sometimes move characters and even have some new characters show up unexpectedly. I found it a bit tricky to reproduce this on WPiOS and Android debug builds (I didn't check a release build). On the Android demo app, however, the issue is relatively easy to reproduce.

The gifs below are of the verse block, but I have noticed similar behavior in the preformatted and list blocks.

_ WPiOS WPAndroid Android demo
Description disappearing characters, also can see new characters appearing disappearing characters disappearing characters/words
Difficulty to Reproduce Hardest Hard Easy
gifs verse_weirdness-wpandroid mp4 verse_weirdness-android-demo mp4

To Reproduce

Steps to reproduce the behavior:

  1. Create a verse/list/preformatted block
  2. With the block selected, tap Enter (creating a new line) and quickly start typing characters (on the new line)
  3. Observe weirdness such as the newly typed characters disappearing

Expected behavior

Text typed quickly on a new line should not get deleted/moved.

Devices tested

  • iPhone Xr, iOS 13.3.1
  • Pixel, Android 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions