Skip to content

Infinite Scroll doesnt work as expected. #2843

Open
@gabdreux

Description

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

I found threads talking about the same problem where they apparently were resolved.

I tried to apply all the alternatives to work but I was not successful. I tried using the parent column as primary, the listView as primary, expanded, not expanded... with and without container.... without column using just container and listView...
I believe I have tried every combination.

#315
#2433
#1881
#1231
#2315

CURRENT BEHAVIOR:

  • Returns all documents in the collection without respecting the page size limit determined for the infinite scroll.

PROJECT ID: monitor-hdo4ke

Expected Behavior

  • Only show the number of documents that I specify as a limit.

Steps to Reproduce

  1. Create a new page
  2. Add a container and a listView
  3. Set a query collection with no filters
  4. Set page size query limit to a number smaller then the collection count (eg. collection have 10 docs, set the page size to 4)
  5. Test

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITFTi8mAvI9IsbRJ+KrQcsF4niIvI0MdXZIRmOtvewgjF774EO0TO/ekX1pBXsizaHxmeFSYkk8F+s71ks7lC/UoPQ2sbaJN1s1UYRPPY3KjVYzQO7iSenNtEf9jCEC9yLergSZQIu9iSkIQw2bzAe+yST+Cf9qOYwx5e6fDbOY=

Context

Im trying to limit the query using the page size limit for the infinite scroll.

Visual documentation

infitite01

Additional Info

No response

Environment

- FlutterFlow version: FlutterFlow v4.1.41+ released April 30, 2024 - Flutter version is 3.19.1
- Platform: Windows
- Browser name and version: 124.0.6367.63
- Operating system and version affected:

General

  • I was collaborating with other users in the same project prior to data loss
  • I navigated between different project views leading up to data loss
  • The UI was running very slowly prior to data loss
  • A crash or other bug occurred prior to data loss
  • Data was not saved in a snapshot
  • I was using flutterflow from multiple devices
  • I was using flutterflow from multiple platforms (e.g. both web and MacOS Desktop app)

Relative to the time the changes were made, data was lost within

  • 1 minute
  • 1 hour
  • 1 day
  • 1 week

When following my steps to reproduce, data loss happens

  • ~100% of the time
  • ~50% of the time
  • ~10% of the time
  • ~1% of the time
  • Very rarely or only encountered once

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions