From d8f1df01427c036d1d5e885bd535ee8d0870328c Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Tue, 27 Sep 2022 14:04:48 +0200 Subject: [PATCH] :bug: Fix cannot take out an element from a group at layers panel by drag --- CHANGES.md | 1 + frontend/src/app/main/ui/workspace/sidebar/layers.cljs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index d86a920e7..81f1c979d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -22,6 +22,7 @@ - Fix error after user drags any layer in search functionality [Taiga #4161](https://tree.taiga.io/project/penpot/issue/4161) - Fix font search works only with lowercase letters [Taiga #4140](https://tree.taiga.io/project/penpot/issue/4140) - Fix Terms and Privacy links overlapping [Taiga #4137](https://tree.taiga.io/project/penpot/issue/4137) +- Fix Cannot take out an element from a group at layers panel by drag [Taiga #4209](https://tree.taiga.io/project/penpot/issue/4209) ## 1.15.3-beta diff --git a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs index 87265242d..eb91f47ac 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs @@ -247,7 +247,8 @@ :selected selected :index index :objects objects - :key (:id item)}]))])])) + :key (:id item) + :sortable? sortable?}]))])])) ;; This components is a piece for sharding equality check between top ;; level frames and try to avoid rerender frames that are does not