mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 13:21:37 +02:00
🐛 Fix scroll into view behing fixed element
This commit is contained in:
parent
d37457dc10
commit
abd7a88ba0
2 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,7 @@
|
|||
(when (and single? selected?)
|
||||
(ts/schedule
|
||||
100
|
||||
#(dom/scroll-into-view! node #js {:block "nearest", :behavior "smooth"})))]
|
||||
#(dom/scroll-into-view! node #js {:block "center", :behavior "smooth"})))]
|
||||
|
||||
#(when (some? subid)
|
||||
(rx/dispose! subid)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue