Skip to content

virtualScroll + infiniteScroll not working in iOS #6342

Closed

Description

@cfjedimaster

Short description of the problem:

I've got an app using virtualScroll and infiniteScroll. When I test, I expect that as I scroll down, infiniteScroll will fire off a request to fetch more data.

What behavior are you expecting?

In the browser and Android, it works. In iOS, it never fires off the request. I don't get an error - it just doesn't seem to recognize that it needs to fetch more data.

My blog post about the app is here: https://www.raymondcamden.com/2016/04/25/an-example-of-virtualscroll-and-infinite-scroll-in-ionic-2/

The specific code base is here:

https://github.com/cfjedimaster/StrongLoopDemos/tree/master/superlongscroll

Which Ionic Version?
2

Activity

  1. Shadowfaxenator commented on Apr 27, 2016

    @Shadowfaxenator

    Are you trying to build for ios 9?

  2. cfjedimaster commented on Apr 27, 2016

    @cfjedimaster
    Author

    Yeah

  3. Shadowfaxenator commented on Apr 27, 2016

    @Shadowfaxenator

    Can be a problem with iOS 9 App Transport Security?

  4. cfjedimaster commented on Apr 27, 2016

    @cfjedimaster
    Author

    Um... no idea. :) Thing is - if it was an issue hitting the API to get data, I would not have gotten the first 'page' of data at all.

  5. Shadowfaxenator commented on May 10, 2016

    @Shadowfaxenator

    any updates?

  6. daviddk commented on Aug 18, 2016

    @daviddk

    +1 on this issue, also have a demo app running which showcases the issue. On Android it kinda works, but scroll back to top when adding new data to the list.

    Ion-Refresher also doesn't work on iOs, seems to be working fine on Android.

    https://github.com/Euricom/tryout-ionic2/tree/virtualscroll

  7. bjakubiak commented on Apr 4, 2017

    @bjakubiak

    infiniteScroll doesn't work on iOS even without virtualScroll. I took ionic2 tutorial starter, added http://ionicframework.com/docs/api/components/infinite-scroll/InfiniteScroll/ to main page, and it works on browser but not on iOS. doInfinite method doesn't even start there. Tried on iOS 10.3.

    Then I tried it after https://github.com/driftyco/cordova-plugin-wkwebview-engine#installation-instructions and it worked.

    [EDIT] Looks like infiniteScroll for UIWebView was already solved in 3.0.1

  8. nathan5x-zz commented on Aug 18, 2017

    @nathan5x-zz

    I tried exactly what @bjakubiak did. But am getting a different issue, looks like someone else had the same issue like me
    Refer this - ionic-team/cordova-plugin-wkwebview-engine#170

    Any other workaround?

  9. ionitron-bot commented on Aug 18, 2018

    @ionitron-bot

    Thanks for the issue! This issue is being closed due to inactivity. 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.

    Thank you for using Ionic!

  10. locked and limited conversation to collaborators on Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions