-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Message on editing Mail Body #723
Comments
Hey! Thanks for reporting this - this is a pretty nasty issue. I'll see if we can get this fixed - there have been some updates to Slate since we released the new editor and we need to incorporate those fixes in. |
I got this, too: Error: Failed to execute 'setStart' on 'Range': The offset 4294967293 is larger than the node's length (4). |
Happened to me too - on the first email I've ever tried to write with mailspring no less ☹ the only formatting I had used was a bullet point list.. |
Happens for me too. |
Same here. Happens to me. Error: Failed to execute 'setStart' on 'Range': The offset 4294967295 is larger than the node's length (9). |
Happens to me as well. I noticed this always happens when I try to navigate the text with keyboard arrow keys. |
Possibly related to ianstormtaylor/slate#710 ? |
I still get this error in version 1.2.1. |
Happend here too today. V 1.2.1-7e7747b6 |
happened to me just now... after having composed a whole email... can't seem to access it again. This is a major no no. |
This still happens to me very regularly. And it still prevents me using Mailspring as default mail client. Isn`t there a solution in sight? |
Going to merge this in to #921 - I've been hoping we can upgrade to a new version of Slate for a while now, but there are a few performance regressions that still need to be fixed in Slate. Hopefully this can be fixed soon. |
While editing the email body the following error message was displayed:
Error: Failed to execute 'setStart' on 'Range': The offset 4294967295 is larger than the node's length (15).
at findDOMRange (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/slate-react/lib/utils/find-dom-range.js:37:5)
at Content._this.updateSelection (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/slate-react/lib/components/content.js:154:46)
at Content._this.componentDidUpdate (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/slate-react/lib/components/content.js:121:13)
at commitLifeCycles (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:149:308)
at b (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:158:229)
at m (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:169:217)
at w (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:168:413)
at batchedUpdates (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:171:357)
at tc (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:54:269)
at vd (/Applications/Mailspring.app/Contents/Resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:71:249)
What I did was: Typing several pararaphs. Then I wanted to mark 4 line with Shift-Arrow-Down to apply a bold format. Instead of marking the lines below the current cursor position in the editing area the messages below the current message in the messages panel were marked and the error message appeared.
The text was updated successfully, but these errors were encountered: