mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Koenig - Fix sticky (+) button when clicking to select card
no issue - if the (+) button was visible and you clicked on a card to select it the cursor moved but the (+) button remained because we weren't updating the `selectedRange` property
This commit is contained in:
parent
cfc32f2539
commit
b3b07e488f
1 changed files with 1 additions and 0 deletions
|
@ -411,6 +411,7 @@ export default Component.extend({
|
||||||
// already handled it, e.g. on card insertion, manual card selection
|
// already handled it, e.g. on card insertion, manual card selection
|
||||||
if (this._skipCursorChange) {
|
if (this._skipCursorChange) {
|
||||||
this._skipCursorChange = false;
|
this._skipCursorChange = false;
|
||||||
|
this.set('selectedRange', editor.range);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue