-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlapping items sometimes on Safari with Infinite Scroll #1433
Comments
Thanks for reporting this issue. I'm having trouble reproducing the issue. When I select All Artists the same two items appear. No more items appear on scroll. This is why its important to try and produce reduced test case and not a production site. That said, Safari has had several issues with Infinite Scroll and imagesLoaded, see metafizzy/infinite-scroll#671. There's is also the lack of |
Thanks for replying @desandro! The steps are as follows:
What do you recommend in using instead? Masonry? Packery? |
Thanks for that. I viewed a couple times in Safari and I was not able to reproduce the overlapping. It's likely caused by a lingering imagesLoaded bug. As for memory issues, maybe Infinite Scroll and Masonry/Isotope is not a good solution for this site. |
Late answer but I'm relatively sure it has something to do with the It states:
So probably the solution would be to also listen to transitioncancel for a proper cleanup. Since we have the same issue, and also only randomely and only in these two browsers, and we also use a lazyloading library - which could theoretically somehow trigger a Sidenote: I could only reproduce this bug with Safari. |
Hey all!
I have spent a considerable amount of trying to debug the issue of items in an isotope grid overlapping when they get appended with Infinite Scroll. Strangely this only happens sometimes, usually further down the page and with Safari.
Initially it was an issue with Safari not liking
img srcset
, so I removed that and it only overlaps from time to time.It's become mentally exhausting so I was hoping if anyone out there has managed to finally resolve this issue. I have attached a snippet of my code below. Any help would be most appreciated 🙏🏼
Here's a link to the test/staging site
Steps to reproduce on Safari:
The text was updated successfully, but these errors were encountered: