mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 12:18:32 +00:00
🐛 Fix problem with scrolling on already visible layers
This commit is contained in:
parent
94d3f66ef1
commit
82d744b94a
@ -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…
x
Reference in New Issue
Block a user