mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 00:01:51 -05:00
🐛 Fix problem with scrolling on already visible layers
This commit is contained in:
parent
94d3f66ef1
commit
82d744b94a
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@
|
|||
(when (and single? selected?)
|
||||
(ts/schedule
|
||||
100
|
||||
#(dom/scroll-into-view! node #js {:block "center", :behavior "smooth"})))]
|
||||
#(dom/scroll-into-view-if-needed! node #js {:block "center", :behavior "smooth"})))]
|
||||
|
||||
#(when (some? subid)
|
||||
(rx/dispose! subid)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue