From 8772e51bd29c78ad1fb31027af9083920c8aaaa3 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Mon, 5 Jun 2023 11:23:08 +0200 Subject: [PATCH] :bug: Fix problem with padding input --- .../ui/workspace/sidebar/options/menus/layout_container.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs index 715f34cef..a3a388393 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs @@ -274,10 +274,9 @@ [:> numeric-input {:placeholder "--" :on-change (partial on-change :simple :p1) - :on-focus #(select-paddings true false true false) - :on-blur #(do + :on-focus #(do (dom/select-target %) - (select-paddings false false false false)) + (select-paddings true false true false)) :value p1}]] [:div.padding-item.tooltip.tooltip-bottom-left