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 handler never called #85

Open
ilahomesick opened this issue Feb 3, 2021 · 1 comment
Open

Infinite scroll handler never called #85

ilahomesick opened this issue Feb 3, 2021 · 1 comment

Comments

@ilahomesick
Copy link

ilahomesick commented Feb 3, 2021

Hi, I'll explain you my situation:

  1. I have a framework where I added UIScrollView-InfiniteScroll with Carthage, where I have a page with a simple table view
  2. In the same project an example app to test the page and there the scroll works perfectly
  3. I have a main app where I use the framework (point 1) that provides the page with the infinite scroll and when I try to scroll from the main app the scrolling handler is never called

I checked with the debugger and addInfiniteScroll is called correctly when the table is initialised.
Also in the main app (point 3) we have a dependency to UIScrollView-InfiniteScroll but with cocoa pods, but I don't think that's the reason of the problem.

Edit: I tried to add ordersTableView.beginInfiniteScroll(true) snd the automatic scroll works and load the second page, but if I scroll manually it doesn't work. Any Idea about what it can depend on?

@pronebird
Copy link
Owner

pronebird commented Feb 14, 2021

Hi,

Can you put a breakpoint around here and see if the extension receives the calls to setContentOffset?

Cheers,
Andrej

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

2 participants