🐛 Fix problem with fix scrolling on nested elements

This commit is contained in:
alonso.torres 2024-03-07 17:42:19 +01:00
parent 916d179009
commit 9a976a8f6e
3 changed files with 10 additions and 2 deletions

View file

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