RichTextEditor crashes after hitting Enter
See original GitHub issueCategory
[ ] 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
- type anything into editor
- 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:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
This has just been released in the version
1.13.2
.