Hacker News new | ask | show | jobs
by scottmf 3347 days ago
In what way is Draft broken on Android?

Edit: I see now. I've had a look around and this open pr seems to fix it for draftjs:

https://github.com/facebook/draft-js/pull/1013

How are you currently handling Android? We're launching with draftjs in two weeks and need to support Android.

1 comments

On Android there is a high chance your text won't appear, or the keyboard will disappear. Trying to delete text will cause the cursor to jump around if you hold delete down instead of one character at a time. Very frustrating.
The cursor and atomic block deletion issues occur on desktop as well. I filed an issue recently on this very thing.

It seems to be a continuation of the issues with the editor state and DOM falling out of sync.

I can't share the implementation project, but this is the issue: https://github.com/facebook/draft-js/issues/1089 And the component: https://robert-fairley.github.io/draftjs-litho-editor/

(my component was never meant for mobile use, though. Built for a desktop web app.)