react-rte icon indicating copy to clipboard operation
react-rte copied to clipboard

Mobile View Editing Bug

Open mariacheline opened this issue 7 years ago • 17 comments

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.

mariacheline avatar Dec 15 '17 11:12 mariacheline

What OS are you testing it on? I just tested on latest iOS and seems to be working fine.

misenesi avatar Jan 02 '18 02:01 misenesi

Testing it on an Android phone

mariacheline avatar Jan 02 '18 15:01 mariacheline

Ran into the same problem on Android - Android 8.0, Pixel XL.

noahshaf avatar Jan 11 '18 23:01 noahshaf

Same issue on Android 7.1.2 MIUI 9

DejvG avatar Feb 08 '18 14:02 DejvG

any update on this? same issue

wyamout avatar Mar 06 '18 18:03 wyamout

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

dmarkrollins avatar Mar 07 '18 11:03 dmarkrollins

Here is a longish discussion of the problem. Affects all draftjs users, not just react-rte

https://github.com/facebook/draft-js/issues/1077

noahshaf avatar Mar 07 '18 15:03 noahshaf

2019 - Still having this problem 😞

Ggayane avatar Aug 13 '19 11:08 Ggayane

This has since been fixed with the latest draft-js release v0.11.0. draft-js issue draft-js PR

ScottLindley avatar Sep 30 '19 15:09 ScottLindley

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 avatar Aug 27 '20 08:08 NNSTH

@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 avatar Aug 27 '20 10:08 ScottLindley

@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 avatar Aug 27 '20 10:08 NNSTH

@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 avatar Aug 27 '20 10:08 ScottLindley

@ScottLindley thanks, I'll try understand more from draft-js threads.

NNSTH avatar Aug 27 '20 11:08 NNSTH

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 : (

sstur avatar Aug 27 '20 23:08 sstur

The issue still here :(

Diaver avatar Nov 01 '20 23:11 Diaver

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

adarsh1021 avatar Feb 10 '21 08:02 adarsh1021