draft-js icon indicating copy to clipboard operation
draft-js copied to clipboard

Android: text disappears when splitting a block

Open robbertbrak opened this issue 5 years ago • 7 comments

To reproduce:

  • Use the latest version of Draft (i.e., one that includes https://github.com/facebook/draft-js/commit/634bd297f1646934087051b1149164b01a09a136)
  • On a recent Android phone with GBoard, open the rich text example (I'm using a Pixel 2 API 28 with Android 9.0 emulator)
  • Type a paragraph with a few words
  • Tap somewhere in the middle of the paragraph (but not before a space) and press the enter key on the keyboard, so that the paragraph is split in two parts
  • Note that GBoard has a few suggestions for autocomplete. Select the first one.

Result: the text in the second paragraph disappears.

Continuing this scenario:

  • Press backspace

Result: the text in the second paragraph reappears, without the final character.

screencast 2019-05-24 16-49-05

robbertbrak avatar May 24 '19 14:05 robbertbrak

Interesting, feel free to mention me as you did on the other reports, I'll be able to help quicker. I'm leaving now, but I'll see if I can take a stab at this in the next couple days.

fabiomcosta avatar Jun 13 '19 05:06 fabiomcosta

Any updates?

Svyatozar avatar Jan 22 '20 13:01 Svyatozar

What are the updates on this issue? Any workarounds?

dryleaf avatar Feb 25 '20 02:02 dryleaf

@fabiomcosta I am also experiencing this same bug while pressing space or backspace

palashgupta98 avatar May 21 '20 06:05 palashgupta98

@fabiomcosta @robbertbrak So its been a year since the bug was reported. Does anyone found any workarounds or fixes for the bug? I'm facing the same bug.

harshmaisheri avatar Jul 26 '20 07:07 harshmaisheri

Bumping, still a bug that I'm experiencing. @claudiopro @flarnie any hopes this gets fixed anytime soon??

mazhigbee-pb avatar May 18 '21 20:05 mazhigbee-pb

any updates?

tseringn avatar Sep 13 '22 14:09 tseringn