From dc60be404aeedf18aec932803a09791e47e83248 Mon Sep 17 00:00:00 2001 From: yosmoc Date: Mon, 30 Apr 2018 22:30:41 +0200 Subject: [PATCH] select next note after tranfer note(s) to another folder --- browser/main/NoteList/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/main/NoteList/index.js b/browser/main/NoteList/index.js index e8c09f65..07e98670 100644 --- a/browser/main/NoteList/index.js +++ b/browser/main/NoteList/index.js @@ -460,7 +460,7 @@ class NoteList extends React.Component { const selectedNotes = findNotesByKeys(notes, selectedNoteKeys) const noteData = JSON.stringify(selectedNotes) e.dataTransfer.setData('note', noteData) - this.setState({ selectedNoteKeys: [] }) + this.selectNextNote() } handleNoteContextMenu (e, uniqueKey) {