mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 11:28:28 +02: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?)
|
(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…
Add table
Add a link
Reference in a new issue