I have a small messaging system in my app.
When User A adds a new message, User B automatically gets the new message at the bottom of his RG list.
All this works perfectly.
BUT…is there a way that I can get User A’s RG to automatically scroll down to the new message he just got from User B? I’d like it to work a lot like your message app on your phone.
I got it to scroll to the bottom when User A first looks at his messages. I just need it to “refresh” itself and scroll down to the NEW message when a new one comes in.
hey @firstfifteensoftware no way to auto scroll. What you could work around is to have a state to change from sort ascending to descending when a message is recieve.
In the workflow you have run when new message is recieve and the action would be set state.
There’s a scroll to RG index as an action in workflows. Easy way to do it is to have a state that stores a “last count” of loaded messages.
Then have a Do When Condition workflow that scrolls to the RG index of last message whenever that “last count” state and the RG :count don’t match. Make sure to update the “last count” state so it will trigger the workflow again for the next new message.
Yeah I think ihsanzainal84 answer makes sense, ‘scroll to’ the bottom of the RG. It’s a good question though.
AWESOME! Thank you SO MUCH!
Hello,
Could we see how it looks please ? Bit complex to understand 
Many thanks,
Armand