You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pat-inject autoload-visible with IntersectionObserver #955
We had a problem where items which were visible on the dashboard were not loaded due to pat-inject trigger:autoload-visible not kicking in, even if the items were in the viewport when loading.
They were immediately loaded after scrolling once.
We had a quickfix for this.
But this should be fixed in a way, that trigger: autoload-visible does the expected thing - loading items when they are in the viewport, even without scrolling. We should think of using the intersection observer for that where we can also define a margin for loading items in advance.
Activity
cornae commentedon Jan 27, 2022
Don't worry about the margin. I usually tune that with CSS.
thet commentedon Mar 14, 2022
Work is happening here: #941
feat(pat inject): Rework autoload-visible to use an IntersectionObser…