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

UI stutter on rendering large list due to the use of Column widget #290

Open
lhengl opened this issue Dec 11, 2024 · 3 comments
Open

UI stutter on rendering large list due to the use of Column widget #290

lhengl opened this issue Dec 11, 2024 · 3 comments

Comments

@lhengl
Copy link

lhengl commented Dec 11, 2024

Describe the bug
The UI appear to be stuttering when there is a large enough data set being loaded into the UI. This is because the UI favours the use of columns over a more efficient ListView or builder widgets that renders on the fly.

To Reproduce
Steps to reproduce the behavior:

  1. Create a ChatView and inject large list of messages each time - either in the initiaMessageList or during loadMoreData

I've created a demo app to demonstrate this: https://github.com/lhengl/chatview_errors

  1. Tap ScrollController Error list tile
  2. Change the states to see the stutter

Expected behavior
There should be no stutter

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
N/A

@officialismailshah
Copy link

did you resolve this issue @lhengl

@lhengl
Copy link
Author

lhengl commented Jan 9, 2025

did you resolve this issue @lhengl

No, I haven't resolved this issue yet. Also, for some reason, I can't fork to attempt a fix... it just won't create a fork ok github for me.

@officialismailshah
Copy link

did you resolve this issue @lhengl

No, I haven't resolved this issue yet. Also, for some reason, I can't fork to attempt a fix... it just won't create a fork ok github for me.

sure here you can fork this repo I have forked it just now
https://github.com/officialismailshah/flutter_chatview

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