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

Infinite scroll doesn't work on iOS #10976

Closed
tscislo-lingaro opened this issue Mar 30, 2017 · 18 comments
Closed

Infinite scroll doesn't work on iOS #10976

tscislo-lingaro opened this issue Mar 30, 2017 · 18 comments
Assignees

Comments

@tscislo-lingaro
Copy link

tscislo-lingaro commented Mar 30, 2017

Ionic version: (check one with "x")
[ ] 1.x
[x ] 2.3.0

I'm submitting a ... (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
Infinitivie scroll doesn't work on iOS.
It worked on 2.0.1

Expected behavior:
It should work as expected on iOS

Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v6.9.5
Xcode version: Not installed

@tscislo-lingaro
Copy link
Author

It works well on 2.2.0, it's only failing on 2.3.0

@burhanyldz
Copy link

"A is B. A should be A."

This is how it sounds. I believe you should provide more explanation :)

@tscislo-lingaro
Copy link
Author

I suspect that (ionInfinite) output is not emitted when it should. I didn't spend much time debugging just launched on iOS with 2.2.0 and it works while on 2.3.0 with the same code it doesn't.

@burhanyldz
Copy link

Your issue might be related with this

I had the same issue and downgraded to 2.2.0. In my case ionInfinite was actually being triggered but content was positioned incorrectly so I saw a blank page. Applying below CSS fixed it. I don't know if it is the same problem for you though.

    .scroll-content {
        transform: none !important;
    }

@tscislo-lingaro
Copy link
Author

It's not the same problem, however the issue which you mentioned is exactly what I'm experiencing. Currently downgrading to 2.2.0 solves the issue.

@qng5150
Copy link

qng5150 commented Apr 3, 2017

Also experiencing this issue. 👍

@vzharkov
Copy link

vzharkov commented Apr 3, 2017

I have the same issue on ionic 2.3.0, v 2.2.0 works good

@brandyscarney brandyscarney changed the title Infinitivie scroll doesn't work on iOS Infinite scroll doesn't work on iOS Apr 3, 2017
@nvazquezg
Copy link

Same problem here.

@dmastag
Copy link

dmastag commented Apr 6, 2017

Got some advise from North McCormick on Slack to use wkwebview
https://github.com/driftyco/cordova-plugin-wkwebview-engine#installation-instructions

And can confirm that its working as a temporary workaround

@HonLuk
Copy link

HonLuk commented Apr 6, 2017

same problem. ionic3.0 and 2.3 work on chrome but not work on ios device.(I build by add prod)
2.3 and 3.0 have this problem.so I just update to 3.0 the problem still make page block when I try to scroll page, so i back to 2.2 now. sad day.

@danielabbatt
Copy link
Contributor

Yes - this currently blocks from upgrading to 3.x for us.

@manucorporat
Copy link
Contributor

I didn't notice it was a UIWebView only issue.

I am working in a good fix for UI right now. But in the meantime, what is stoping you to use WKWebView? We have plans to deprecate UI very soon, making WK the default option.

@manucorporat manucorporat self-assigned this Apr 6, 2017
manucorporat added a commit that referenced this issue Apr 6, 2017
manucorporat added a commit that referenced this issue Apr 6, 2017
@dtalay
Copy link

dtalay commented Apr 10, 2017

Still having this issue in 3.0.1

@tscislo-lingaro
Copy link
Author

Can people confirm if it's working on 3.0.1?

@BeliliFahem
Copy link

Resolved for me with 3.0.1 !

@joel00
Copy link

joel00 commented Apr 13, 2017

mmmm weird, with 3.0.1 works only once on device while in web works fine

@dicoluat
Copy link

Try:
<ion-infinite-scroll [threshold]="'500%'"(ionInfinite)="doInfinite($event)"></ion-infinite-scroll>
It works for me

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 1, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests