react-rte
react-rte copied to clipboard
Mobile View Editing Bug
When you switch to mobile view the editor is completely unuseful. You can type but as soon as you hit space or enter, the text editor clears out.
What OS are you testing it on? I just tested on latest iOS and seems to be working fine.
Testing it on an Android phone
Ran into the same problem on Android - Android 8.0, Pixel XL.
Same issue on Android 7.1.2 MIUI 9
any update on this? same issue
Mobile not yet support (as of this post) according to Facebook so your mileage will vary.
https://draftjs.org/docs/advanced-topics-issues-and-pitfalls.html
Here is a longish discussion of the problem. Affects all draftjs users, not just react-rte
https://github.com/facebook/draft-js/issues/1077
2019 - Still having this problem 😞
This has since been fixed with the latest draft-js release v0.11.0. draft-js issue draft-js PR
I'm using react-rte with draft-js version: 0.11.6 and still having a lot of issues on Android devices. are you sure this had been fixed the issues?
@NNSTH I'm certainly not sure. I can only say that this issue was resolved for my team after the release I mentioned. I probably should have worded it that way when I originally posted last year.
@ScottLindley - thanks for your reply, can you tell me which version do you use? or did you add any other fixes for that case?
@NNSTH unfortunately for this thread we are now using slate in place of react-rte
. While I don't have a lot of context into why we made that change, I am fairly sure it wasn't because of this singe open issue.
The comments above indicate the issue may lie not in react-rte
, but draft-js
, so I might suggest you go knock on that door.
I hope this gets resolved for you!
@ScottLindley thanks, I'll try understand more from draft-js
threads.
Hey @ScottLindley, glad to hear you had some success by making the switch. As I understand it, there are several long-running mobile-support issues with the underlying draft-js implementation and it's non-trivial to fix without core changes.
I think Slate is probably a good choice for many use cases that aren't well served by draft-js, on which this editor is built.
Sorry there's not a better answer to this : (
The issue still here :(
I am facing issues on android phone with google keyboard when:
- pressing enter key, the cursor behaves unpredictably. Sometimes goes to next line. Sometimes jumps to the line before
- formatting options like bulleting are also not consistent