mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 23:48:42 +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?)
|
(when (and single? selected?)
|
||||||
(ts/schedule
|
(ts/schedule
|
||||||
100
|
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)
|
#(when (some? subid)
|
||||||
(rx/dispose! subid)))))
|
(rx/dispose! subid)))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user