mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03: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
@ -411,6 +411,7 @@ export default Component.extend({
|
||||
// already handled it, e.g. on card insertion, manual card selection
|
||||
if (this._skipCursorChange) {
|
||||
this._skipCursorChange = false;
|
||||
this.set('selectedRange', editor.range);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user