0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

🐛 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

@ -44,6 +44,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Fix scroll into view behind fixed element [Taiga #3170](https://tree.taiga.io/project/penpot/issue/3170)
- Fix sidebar icon in viewer mode [Taiga #3184](https://tree.taiga.io/project/penpot/issue/3184) - Fix sidebar icon in viewer mode [Taiga #3184](https://tree.taiga.io/project/penpot/issue/3184)
- Fix send to back several shapes at a time [Taiga #3077](https://tree.taiga.io/project/penpot/issue/3077) - Fix send to back several shapes at a time [Taiga #3077](https://tree.taiga.io/project/penpot/issue/3077)
- Fix duplicate multi selected elements [Taiga #3155](https://tree.taiga.io/project/penpot/issue/3155) - Fix duplicate multi selected elements [Taiga #3155](https://tree.taiga.io/project/penpot/issue/3155)

View file

@ -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 "nearest", :behavior "smooth"})))] #(dom/scroll-into-view! node #js {:block "center", :behavior "smooth"})))]
#(when (some? subid) #(when (some? subid)
(rx/dispose! subid))))) (rx/dispose! subid)))))