Web Platform - Listview scroll works when going down but becomes buggy when scrolling back up.

Troubleshooting

I have a Listview that generates quiz components. The scrolling works well when scrolling down the screen, however when I scroll back up it starts to become very buggy, the scroll bar bounces up and down very quickly.

What have you tried so far?

Initially I was doing an API call on each card so I thought the bug was occurring because it's re-rendering the card when scrolling up again and then getting into a loop of API calls. However, I changed the logic to preload the data and not do any api calls for each card and the behaviour is still there.

I cannot see any errors in the console and when scrolling back up there are no network requests either. Does anyone have any idea why this behaviour is occuring?

Flutterflow-quiz-scroll-bug.mov
8.7MB

Did you check FlutterFlow's Documentation for this topic?
Yes
1 reply