Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 2c87c35

Browse files
committed
Need to refresh the inline editor when removing the entire selector list.
1 parent 0092188 commit 2c87c35

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/editor/MultiRangeInlineEditor.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,12 @@ define(function (require, exports, module) {
380380

381381
if (this._ranges.length === 1) {
382382
this.$relatedContainer.remove();
383+
384+
// Refresh the height of the inline editor since we remove
385+
// the entire selector list.
386+
if (this.editor) {
387+
this.editor.refresh();
388+
}
383389
}
384390

385391
this._updateCommands();

0 commit comments

Comments
 (0)