wergle - Testing out the FlutteFlow BuildShip F...
Testing out the FlutteFlow BuildShip Firestore streaming assistant template. Works well except scroll to the bottom. It never scrolls and without the scrolling, it doesn't look like the response is streaming. I compared the StreamingPage to the Flutterflow version and see the structure is different in a few areas. Anyone else having this problem with scroll to the bottom? If so, were you able to fix it?
4 Replies
Hi @wergle, I tried out the Streaming assistant demo on FlutterFlow and it did scrolled to bottom for me after generating the complete streamed response, could be something on the FlutterFlow side which may not be working for you and not scrolling to bottom automatically as the response is generated.
We can check and update the FlutterFlow template to scroll with live streaming. cc @Stu
Thanks. It looks like it should work to me. I added a button to save the chat with a title below where you input a prompt. Maybe that's causing it not to scroll.
Hi @wergle & @Gaurav Chadha this had been frustrating me as well, but I was finally able to solve it (better late than never!)
If you click on the send button, and copy these 2 action nodes from the Action Flow Editor.
Then find the Listview where the Firestore Query is occurring for "chats", and open the Action Flow Editor, click "On Data Change" at the top right of the window, and paste those 2 nodes in.
You'll now have a chat window that scrolls when new responses are added. 🙂
I've also updated the template on FlutterFlow Marketplace if that's quicker.
Great. Thanks.