From b0a99b65e451a3fa544aa56052f403dfb7112508 Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Thu, 9 Apr 2026 11:27:36 +0200 Subject: [PATCH] :bug: Fix highlight on shape after rename (#8890) --- CHANGES.md | 1 + frontend/src/app/main/data/workspace.cljs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 42cb55876c..6ec5fb7c32 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -18,6 +18,7 @@ - Fix tooltip activated when tab change [Taiga #13627](https://tree.taiga.io/project/penpot/issue/13627) - Fix title on shared button [Taiga #13730](https://tree.taiga.io/project/penpot/issue/13730) - Fix hover on layers [Taiga #13799](https://tree.taiga.io/project/penpot/issue/13799) +- Fix highlight after name edition [Taiga #13783](https://tree.taiga.io/project/penpot/issue/13783) ## 2.14.2 diff --git a/frontend/src/app/main/data/workspace.cljs b/frontend/src/app/main/data/workspace.cljs index 708f55f6be..71a709ec57 100644 --- a/frontend/src/app/main/data/workspace.cljs +++ b/frontend/src/app/main/data/workspace.cljs @@ -657,6 +657,7 @@ ;; Update the component in case shape is a main instance (when (and (some? component-id) (ctc/main-instance? shape)) (dwl/rename-component component-id clean-name)) + (dwh/dehighlight-shape shape-id) (dwu/commit-undo-transaction undo-id)))))))))) (defn rename-shape-or-variant