Re:Slate.js: Customizeable rich text library inspired by Dra...
by karn09 on Monday April 17, 2017 @08:32AM
(#14130474)
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.
Re:Slate.js: Customizeable rich text library inspired by Dra...
by 52-6F-62 on Monday April 17, 2017 @10:23AM
(#14131048)
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.)
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.