question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RichTextEditor crashes after hitting Enter

See original GitHub issue

Category

[ ] Enhancement

[x ] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 1.13.0-beta.d32fd65 ]

Expected / Desired Behavior / Question

After hitting Enter key new line is added.

Observed Behavior

After hitting enter key control crashes, in devTools console following error is thrown : Uncaught Invariant Violation: Minified React error #185; visit https://reactjs.org/docs/error-decoder.html?invariant=185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Steps to Reproduce

  1. type anything into editor
  2. press Enter

When I hit enter in the middle of the word, it works ok, only crashes when at the end of the line. My current value of the field is:

<p>
   <br/>
</p>
<p>​​​<br/></p>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Holden15commented, Apr 19, 2019

I noticed this behavior as well when I was saving the newValue to my state. I changed it to a global variable and fixed the crashing.

0reactions
estruyfcommented, May 22, 2019

This has just been released in the version 1.13.2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

RichTextEditor crashes after hitting Enter · Issue #277 - GitHub
After hitting enter key control crashes, in devTools console following error is thrown : Uncaught Invariant Violation: Minified React error #185 ...
Read more >
IV60955: IE 8 BROWSER CRASHING WHEN ENTERING LINES IN ...
You can reproduce the error with any Rich Text Editor component (RTE). ... Type something in a RTE component, then press <ENTER>. It...
Read more >
Rich Text Edit Crashes without any reasons
The Rich Text Edit just crashes without any messages at any time. It can run for seconds or hours. It is not determined....
Read more >
Why my QTextEdit inherited rich text editor always crash when ...
I am trying to build a rich text editor that can summon all the common rich text formatting, such as bold, italic and...
Read more >
RichTExtEditor throws NullReferenceException when adding ...
Both throw a NullReferenceException. It is impossible to enter anything. This happens on Xamarin Forms with version 17.4.0.55 of the control.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found