Open alih552 opened 2 weeks ago
Hello!!
I hope you're doing well!
I wanted to let you know that I wasn't able to replicate the issue. When I tested it with a page size of 6, I was able to scroll down, and it retrieved everything as expected while scrolling. It’s possible I might be missing a step or detail you took during your testing.
To help clarify, I’ve included a public project that you can clone and modify as needed: Project Link.
Additionally, here is a video demonstrating the behavior I observed for your reference.
Hi
Hi @Alezanello Ok so if we put a straggeredView comp. inside a scrollable column it won't work.
This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.
Unfortunately, having both the Column
and the StaggeredView
scrollable at the same time creates a conflict in how Flutter handles scrolling. This happens because the StaggeredView
is already a scrollable widget, and when you make the parent Column
scrollable (for example, by wrapping it in a SingleChildScrollView
), Flutter gets confused about which widget should handle the scrolling behavior.
To avoid this issue, it's best not to make the entire Column
scrollable. Instead, let the StaggeredView
manage its own scrolling. Here's the idea:
Column
as it is, without wrapping it in a SingleChildScrollView
.StaggeredView
to handle all the scrolling independently.This ensures smooth scrolling and avoids any conflicts. Let me know if you need further clarification or help implementing this!
Can we access your project?
Current Behavior
When setting Infinite scroll to True it shows a blank & empty space.
Expected Behavior
It should show the dynamic components normally inside the straggeredView comp.
Steps to Reproduce
Reproducible from Blank
Bug Report Code (Required)
ITEShfLl05dgotdc7ofQLflAhQcgQlgnU+cZjuxEdxMvIrbyOu9/O/elQFtuXtCod0NhHFeJkkcywdbev4T1U/VeGASufrZj+M5yED3JWXq8R7LREruWPHx5P9pUGG6i5Lujmh0lBNt1dUEj3F+XN+yAQgLqN5+/Zwh9f6PHaOI=
Visual documentation
Environment
Additional Information
No response