Skip to content

Commit 51bb848

Browse files
committed
Unset update.force before looping in postUpdateDisplay
Issue codemirror#4727
1 parent c3bf712 commit 51bb848

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/display/update_display.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ export function postUpdateDisplay(cm, update) {
179179
updateSelection(cm)
180180
updateScrollbars(cm, barMeasure)
181181
setDocumentHeight(cm, barMeasure)
182+
update.force = false
182183
}
183184

184185
update.signal(cm, "update", cm)

0 commit comments

Comments
 (0)