From 458c8f7a4767ed57a7d4e15521a98c91bce82120 Mon Sep 17 00:00:00 2001 From: timvisee Date: Tue, 29 Sep 2020 17:32:44 +0200 Subject: [PATCH 1/2] Fix selection issue in Firefox preventing drag and drop of items Fixes https://github.com/vanila-io/wireflow/issues/46 See https://github.com/vanila-io/wireflow/issues/46#issuecomment-700784528 --- src/components/FlowItemPanel/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/FlowItemPanel/style.css b/src/components/FlowItemPanel/style.css index 0559c05..ff7f92f 100644 --- a/src/components/FlowItemPanel/style.css +++ b/src/components/FlowItemPanel/style.css @@ -9,6 +9,7 @@ .sidebar { width: 112px; height: 100vh; + user-select: none; } .sidebar .ant-card-body { position: fixed; From 33c3867ab36a1b89aa5238148c22f2ecbe24630d Mon Sep 17 00:00:00 2001 From: timvisee Date: Tue, 29 Sep 2020 18:07:03 +0200 Subject: [PATCH 2/2] Disable pointer events on sidebar images, fix image dragging in Firefox See https://github.com/vanila-io/wireflow/issues/46#issuecomment-700808215 --- src/components/FlowItemPanel/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/FlowItemPanel/style.css b/src/components/FlowItemPanel/style.css index ff7f92f..0d69189 100644 --- a/src/components/FlowItemPanel/style.css +++ b/src/components/FlowItemPanel/style.css @@ -63,6 +63,7 @@ margin-top: -10px; position: relative; z-index: 9999; + pointer-events: none; } ::-webkit-scrollbar { width: 0px;