stabilized LoadableStateConsumer widget hierarchy to prevent scroll resets, added pull-to-refresh configuration, and disabled it in chat view

This commit is contained in:
2026-05-13 18:22:25 +02:00
parent 58fb843f3d
commit 6c7d217463
2 changed files with 30 additions and 22 deletions
+1
View File
@@ -375,6 +375,7 @@ class _ChatViewState extends State<ChatView> with RouteAware {
isReady: (state) =>
state.chatResponse != null &&
state.currentToken == widget.room.token,
enablePullToRefresh: false,
child: (state, _) {
final items =
_buildMessages(state.chatResponse!).reversed.toList();