mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix(web): images not loading on search and gallery (#3902)
* Check all observed entries, not only first * fix: formatting --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
		| @@ -18,7 +18,7 @@ | ||||
|       const rootMargin = `${top}px ${right}px ${bottom}px ${left}px`; | ||||
|       const observer = new IntersectionObserver( | ||||
|         (entries) => { | ||||
|           intersecting = entries[0].isIntersecting; | ||||
|           intersecting = entries.some((entry) => entry.isIntersecting); | ||||
|           if (!intersecting) { | ||||
|             dispatch('hidden', container); | ||||
|           } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user