Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Koenig - Fix sticky (+) button when clicking to select card
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kevinansfield committed Feb 15, 2018
1 parent ae79640 commit 0a375d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/koenig-editor/addon/components/koenig-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0a375d8

Please sign in to comment.