From 82d9eeee84e54bc460cf4282353abe582ef5be74 Mon Sep 17 00:00:00 2001 From: Artur Paikin Date: Thu, 21 Dec 2017 23:50:55 -0500 Subject: [PATCH] =?UTF-8?q?DragDrop:=20don=E2=80=99t=20use=20the=20whole?= =?UTF-8?q?=20DnD=20area=20as=20a=20click=20target=20for=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/DragDrop/index.js | 4 ++-- src/scss/_dragdrop.scss | 2 +- src/scss/_statusbar.scss | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/DragDrop/index.js b/src/plugins/DragDrop/index.js index 08ce1a837..8b6825e86 100644 --- a/src/plugins/DragDrop/index.js +++ b/src/plugins/DragDrop/index.js @@ -103,6 +103,7 @@ module.exports = class DragDrop extends Plugin { } handleBrowseClick (ev) { + ev.stopPropagation() this.input.click() } @@ -113,7 +114,7 @@ module.exports = class DragDrop extends Plugin { height: this.opts.height } return ( -
+