From 5ae7ea624f4c0fb9a8defe85ac33737ee826054d Mon Sep 17 00:00:00 2001 From: Ivan Starkov Date: Sun, 16 Feb 2025 10:50:22 +0500 Subject: [PATCH] fix: Space in navigation menu button trigger exits text editing (#4880) ## Description closes #4879 ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file --- .../canvas/features/webstudio-component/webstudio-component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx b/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx index 235ed9548c..b79681bfe7 100644 --- a/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx +++ b/apps/builder/app/canvas/features/webstudio-component/webstudio-component.tsx @@ -109,7 +109,7 @@ const ContentEditable = ({ // Issue: