Skip to content
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

I get an error on ios 15 #76

Open
hoanganhover opened this issue Oct 5, 2021 · 3 comments
Open

I get an error on ios 15 #76

hoanganhover opened this issue Oct 5, 2021 · 3 comments

Comments

@hoanganhover
Copy link

I get an error on ios 15
io14 and below still work

How to fix this?
https://www.luvia-cosmetics.de/collections/bestseller

https://gyazo.com/3d24f92e3b8c50acec90b0c2373bf8d0

@ronny
Copy link

ronny commented Oct 9, 2021

I forked and rewrote the code to use fetch instead of XMLHttpRequest. It fixes this issue. It's not a drop-in replacement, but should be pretty easy to adjust. Code is available here https://github.com/ronny/infiniscroll

The relevant code is here if anyone wants to adjust Ajaxinate: https://github.com/ronny/infiniscroll/blob/27e3495cdb9b7a8cf6bf4ef5229ebc6b0aef634d/infiniscroll.ts#L122-L146

@hoanganhover
Copy link
Author

@ronny Thank you I'll try

@soycamis
Copy link

@ronny Excellent, your code worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants