Commit graph

8 commits

Author SHA1 Message Date
alistair3149 252e98b085
perf(stickyHeader): ️ improve responsiveness for sticky header 2024-11-08 04:58:11 -05:00
alistair3149 82d413f8ff
refactor(core): ♻️ remove IntersectionObserver fallback
Following Vector deprecation
2024-11-07 21:12:50 -05:00
alistair3149 8819757913
fix(stickyHeader): 🐛 do not reset stickyHeader when page title is visible
There is no need to trigger sticky header when page title is visible.
2024-11-07 21:10:39 -05:00
alistair3149 94936732ec
refactor(core): ♻️ clean up scroll direction observer 2024-11-07 20:33:56 -05:00
alistair3149 30fca942a7
perf(core): ️ move sticky header handling to observers 2024-11-07 19:12:48 -05:00
alistair3149 3b8022c3c1
refactor(core): ♻️ set up scroll direction observer in setupObservers
This is needed for centralizing the observers.
2024-11-07 19:12:48 -05:00
alistair3149 241ef66893
perf(core): ️ move window.resize to resizeObserver 2024-11-07 19:12:48 -05:00
alistair3149 25fbc14908
style(core): 🎨 rename intersectionObserver references to observer
We will be using it for more than intersectionObserver.
2024-11-02 02:00:21 -04:00
Renamed from resources/skins.citizen.scripts/setupIntersectionObservers.js (Browse further)