mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 16:46:11 +02:00
🐛 Fix problem with fix scrolling on nested elements
This commit is contained in:
parent
916d179009
commit
9a976a8f6e
3 changed files with 10 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
|
||||
(defn get-fixed-ids
|
||||
[objects]
|
||||
(let [fixed-ids (filter :fixed-scroll (vals objects))
|
||||
(let [fixed-ids (filter cfh/fixed-scroll? (vals objects))
|
||||
|
||||
;; we have to consider the children if the fixed element is a group
|
||||
fixed-children-ids
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue