# Advice needed on how to best configure and load a long chatscreen

**URL:** https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132
**Category:** Get Help
**Created:** [March 13, 2023, 3:58pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132 "2023-03-13T15:58:19Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/toms/32/27427_2.png) [@Toms](https://forum.adalo.com/u/Toms)
#### Post date: [March 13, 2023, 3:58pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/1 "2023-03-13T15:58:19Z")

</div>

Hi there,

I want to load a screen with a chat. To keep a smooth running app, I don’t want to load all messages, but only the last 100 messages for instance.

Currently, I configured it like this:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/7/e/7e23b0028129151291a25c6e019e5ea7bad1cfb1.png)

The problem is that it loads the oldest 100 messages instead of the last 100 messages.  
I could change it to:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/1/b/1bd3134c37a7eec723009832fa3c2a2657ce7ac5.png)

Problem is then that the newest message is on top of the list. and that’s from UI perspective counterintuitive. Any best practices on how to configure it best?

l

---

<div class="post-metadata">

### Author: ![devrimdmk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/devrimdmk/32/23631_2.png) [@devrimdmk](https://forum.adalo.com/u/devrimdmk)
#### Post date: [March 13, 2023, 4:08pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/2 "2023-03-13T16:08:55Z")

</div>

Hi!

Please test with this trick (I dont know if its work)

On your screen settings you have a check box with ‘Reverse Scroll’ and I think that it will work

---

<div class="post-metadata">

### Author: ![Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/toms/32/27427_2.png) [@Toms](https://forum.adalo.com/u/Toms)
#### Post date: [March 13, 2023, 5:12pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/3 "2023-03-13T17:12:12Z")

</div>

I had that switched on already. It does the trick that it scrolls down to the last message, but it doesn’t solve the issue of only loading the last 100 messages unfortunately.

I’m open to every other suggestion. Anyone else who has a nice example with a a chat with lots of messages?

---

<div class="post-metadata">

### Author: ![Yongki](https://avatars.discourse-cdn.com/v4/letter/y/7c8e57/32.png) [@Yongki](https://forum.adalo.com/u/Yongki)
#### Post date: [March 13, 2023, 11:06pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/4 "2023-03-13T23:06:15Z")

</div>

Hi @Toms ,

I did something similar with pages messages here,

> [@Reverse scroll + Lazy Loading: how to make it work?](https://forum.adalo.com/t/reverse-scroll-lazy-loading-how-to-make-it-work/15956/12):
>
> Hi @Victor , @afonso , @StevenU Thank you for bringing this up, so it triggers me to implement paging in message list. You can test them, if you like. To change the number of messages in list, it is in Edit Profile By default, when new user sign up, this property is filled with 20. Please let me know if there is something you are not hoping.

---

<div class="post-metadata">

### Author: ![Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/toms/32/27427_2.png) [@Toms](https://forum.adalo.com/u/Toms)
#### Post date: [March 14, 2023, 3:05pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/5 "2023-03-14T15:05:10Z")

</div>

Thanks for pointing me to that thread @Yongki, unfortunately, there’s also no real performing solution there as well. The ‘chat’ is quite a crucial part of my app and should work with 1000s of messages easily.

I’ve upvoted the request to improve this, but I’m worried it will take too long, which would make me consider other platforms, and my effort so far in Adalo would be a waste. ☹

---

<div class="post-metadata">

### Author: ![Mohammed](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mohammed](https://forum.adalo.com/u/Mohammed)
#### Post date: [March 14, 2023, 6:54pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/6 "2023-03-14T18:54:49Z")

</div>

We use the Advanced Chat Template from NoCodeMonkey and it works quite well.  
Not sure about how to limit just 100 messages - but from our experience, loading that amount of messages will make the UX pretty bad.

---

<div class="post-metadata">

### Author: ![Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/toms/32/27427_2.png) [@Toms](https://forum.adalo.com/u/Toms)
#### Post date: [March 14, 2023, 7:27pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/7 "2023-03-14T19:27:36Z")

</div>

Good one Mohammed. Is it this one?

[https://www.nocodemonkey.io/components/chat-box](https://www.nocodemonkey.io/components/chat-box)

---

<div class="post-metadata">

### Author: ![Mohammed](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mohammed](https://forum.adalo.com/u/Mohammed)
#### Post date: [March 14, 2023, 7:45pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/8 "2023-03-14T19:45:20Z")

</div>

Hi Toms,

Actually its this one here titled “Chat Template”

> **[Templates](https://www.nocodemonkey.io/templates)**
>
> The largest Adalo Component store. Bring your Adalo app to the next level.

---

<div class="post-metadata">

### Author: ![Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/toms/32/27427_2.png) [@Toms](https://forum.adalo.com/u/Toms)
#### Post date: [March 14, 2023, 8:19pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/9 "2023-03-14T20:19:06Z")

</div>

Cool! I‘ll check it out. Up to how many messages do you have in a chat?

---

<div class="post-metadata">

### Author: ![Mohammed](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mohammed](https://forum.adalo.com/u/Mohammed)
#### Post date: [March 14, 2023, 8:30pm UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/10 "2023-03-14T20:30:35Z")

</div>

Never had anything beyond 40-50 messages in total. The chat is usually over by then

---

<div class="post-metadata">

### Author: ![Toms](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/toms/32/27427_2.png) [@Toms](https://forum.adalo.com/u/Toms)
#### Post date: [March 15, 2023, 6:04am UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/11 "2023-03-15T06:04:26Z")

</div>

Thanks for letting me know Mohammed. I’ll get in touch with Nocodemonkey to learn more about their experiences and the configurability of it.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)
#### Post date: [March 25, 2023, 6:04am UTC](https://forum.adalo.com/t/advice-needed-on-how-to-best-configure-and-load-a-long-chatscreen/37132/12 "2023-03-25T06:04:55Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
