diff --git a/src/trix/observers/selection_change_observer.js b/src/trix/observers/selection_change_observer.js index a3a355808..ba0c1aa83 100644 --- a/src/trix/observers/selection_change_observer.js +++ b/src/trix/observers/selection_change_observer.js @@ -49,7 +49,9 @@ export default class SelectionChangeObserver extends BasicObject { update() { const domRange = getDOMRange() - if (!domRangesAreEqual(domRange, this.domRange)) { + const caretMove = window.getSelection().type === "Caret" + + if (!domRangesAreEqual(domRange, this.domRange) || caretMove) { this.domRange = domRange return this.notifySelectionManagersOfSelectionChange() }