diff --git a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs index 328ad3997a..e488d0d394 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/layers.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/layers.cljs @@ -192,7 +192,7 @@ (mf/deps selected) (fn [] (when (and (= (count selected) 1) selected?) - (.scrollIntoView (mf/ref-val dref) false)))) + (.scrollIntoView (mf/ref-val dref) #js {:block "nearest", :behavior "smooth"})))) [:li {:on-context-menu on-context-menu :ref dref