🐛 Fix scroll into view behing fixed element

This commit is contained in:
Eva 2022-04-04 12:25:27 +02:00
parent d37457dc10
commit abd7a88ba0
2 changed files with 2 additions and 1 deletions

View file

@ -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)))))