Error: Calls to EditorView.update are not allowed while an update is in progress
- Dominant language
- Ruby
- Stars
- 548
- Forks
- 168
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 22
Description
## Error
```
Calls to EditorView.update are not allowed while an update is in progress
```
## Stack trace
```
../node_modules/@codemirror/view/dist/index.js:7501 in EditorView.update
../node_modules/@codemirror/view/dist/index.js:7465 in this.dispatchTransactions
../node_modules/@codemirror/view/dist/index.js:7489 in EditorView.dispatch
../node_modules/@codemirror/view/dist/index.js:3990 in applyDOMChange
../node_modules/@codemirror/view/dist/index.js:7031 in DOMObserver.flush
../node_modules/@codemirror/view/dist/index.js:6975 in DOMObserver.forceFlush
../node_modules/@codemirror/view/dist/index.js:4275 in InputState.keydown
../node_modules/@codemirror/view/dist/index.js:4206 in InputState.handleEvent
../node_modules/@sentry/browser/src/helpers.ts:117 in sentryWrapped
```
## Tracking Details
- **Project**: exercism-js
- **Sentry**: [Error: Calls to EditorView.update are not allowed while an update is in progress](https://thalamus-ai.sentry.io/issues/146183275/)
- **Culprit**: EditorView.update(@codemirror/view/dist/index)
- **First seen:** Sep 10, 2026
Contributor guide
Research direction
Start by reproducing the error in the exercism-js editor and tracing the interaction through @codemirror/view, especially EditorView.update, dispatchTransactions, applyDOMChange, and DOMObserver.flush in the provided stack trace. Done means the reported update-in-progress error no longer occurs during the triggering editor interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100