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
StreamChannel() Doesn't Show Loading Screen #678
Comments
I noticed a related issue, that the message list view doesn't seem to use my loadingBuilder and instead shows a circular progress indicator with default colors, despite my theme colors already being defined.
|
@mingzew can you add a snippet for reproducing the bug? thanks |
@jgadsby are you talking about the widget that shows when there are no messages? |
No, just the widget that shows when the channel is loading. |
what do you mean? the loading indicator for pagination? |
What does loadingBuilder actually override in MessageListView? |
it overrides the list loading indicator that shows up when we're fetching the messages |
Yeah, that's what's not working for me. I'm not trying to override the pagination loader. See this snippet which doesn't work (you can use anything in loadingBuilder):
|
yeah it's not that it doesn't work, it overrides only the main loading indicator that you can see when the first query is in progress, not the one used while paginating |
Hi i've attached a code example showing the issue. A few things
Let me know if you have any questions |
hey @mingzew this is probably a performance issue, we're looking into that |
Yeah the time it takes is not ideal, that seem like a performance related issue. The loading screen should show in the main time, no? Perhaps there's a work around with futureBuilder? |
Hey @mingzew |
Hi @imtoori Untitled.mp4 |
@Abacaxi-Nelson yes please create a new issue |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! Thanks for your contribution. |
Which packages are you using?
stream_chat_flutter
On what platforms did you experience the issue?
Android
What version are you using?
2.2.1
What happened?
Loading up widgets that contain StreamChannel() initially (after restart of app or Hot Restart) takes a long time (4-6 seconds) and it doesn't show a loading bar even with showLoading: true.
Steps to reproduce
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: