mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Fixes problem with scrollIntoView
This commit is contained in:
parent
f4af0b0420
commit
33908413d6
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@
|
|||
(mf/deps selected)
|
||||
(fn []
|
||||
(when (and (= (count selected) 1) selected?)
|
||||
(.scrollIntoView (mf/ref-val dref) false))))
|
||||
(.scrollIntoView (mf/ref-val dref) #js {:block "nearest", :behavior "smooth"}))))
|
||||
|
||||
[:li {:on-context-menu on-context-menu
|
||||
:ref dref
|
||||
|
|
Loading…
Add table
Reference in a new issue