You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirming similar behavior in the following scenario:
I'm channels list page
I get new message
I open the channel
Similar exception. Goes away if showLoading: true
ihijazi
changed the title
Opening Pinned message without showLoading: true throws exception
Opening Pinned message or channel with new messages without showLoading: true throws exception
Feb 4, 2025
Which packages are you using?
stream_chat_flutter
On what platforms did you experience the issue?
iOS, Android
What version are you using?
9..2.0+1
What happened?
Say I'm pinned page then selected a pinned message. An exception is thrown:
Exception has occurred.
StateError (Bad state: No element)
Steps to reproduce
Just set the showLoading to false
StreamChannel(
showLoading: false
If it's true, this doesn't happen. Tracing the issue, seems because the data isn't loaded (which is fair), but still I'd like to have no loading UI.
This can be reproduced also on your sample flutter app
Supporting info to reproduce
No response
Relevant log output
Flutter analyze output
Flutter doctor output
Code of Conduct
The text was updated successfully, but these errors were encountered: