Giter VIP home page Giter VIP logo

Comments (3)

EdsonBueno avatar EdsonBueno commented on July 26, 2024 2

Hi @emiguzik.
This doesn't happen on mobile apps, and your code looks correct, so it might be something with web.
One thing I noticed (which shouldn't be the problem), is that you're using shrinkWrap: true. My guess is you're using it because this widget is being used inside another scrollable widget.
When that is the case (scrollable widgets inside scrollable widgets, both in the same direction) you should work with Flutter Slivers. This package has a Sliver version of a paginated list, which is PagedSliverList.
Please, try seeing if that is the problem, and if it isn't, can you provide me a toy project reproducing the issue so that I can help you with it?

from infinite_scroll_pagination.

Martibis avatar Martibis commented on July 26, 2024 2

Got it to work for me, this is what (the possibly relevant parts of) my widget tree looks like now in case it helps @emiguzik (arrow represents child)

Scaffold -> SafeArea -> Column -> Expanded ->CustomScrollView -> slivers: [SliverList, Builder -> BlocListener -> PagedSliverList]

from infinite_scroll_pagination.

EdsonBueno avatar EdsonBueno commented on July 26, 2024 2

Thank you so much @Martibis. The nested scrolling views kill the lazy effect.
I'm closing this issue for now, but feel free to reopen it @emiguzik.

from infinite_scroll_pagination.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.