# Reversed Chat Order - Cant Fix

**URL:** <https://community.glideapps.com/t/reversed-chat-order-cant-fix/83955>\
**Category:** Ask for Help\
**Created:** [August 21, 2025, 6:45pm UTC](https://community.glideapps.com/t/reversed-chat-order-cant-fix/83955 "2025-08-21T18:45:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnC](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JohnC](https://community.glideapps.com/u/JohnC)\
**Post date:** [August 21, 2025, 6:45pm UTC](https://community.glideapps.com/t/reversed-chat-order-cant-fix/83955/1 "2025-08-21T18:45:00Z")

</div>

I’ve got a 1:1 chat working, but the message list behaves oddly:

- Each new message makes the page longer (no contained scroll area).

- Reversing sort puts the **newest at the top** while the **composer stays at the bottom** (awkward).

- Limiting items/page size **cuts off the newest** instead of trimming older ones.

**Goal:** Standard messenger behavior:

- Newest message just above the composer (at the bottom)

- Only the last N messages visible (e.g., 50)

- Scroll within the chat area

- Auto-focus/land on the latest

**What I tried:** Comments/Chat component (sorted both ways), item limits (trim the wrong side).

**Question:** Is there a best-practice way (Comments/Chat vs a Collection + Query) to keep the **newest** messages and anchor **newest at the bottom**? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 22, 2025, 12:36am UTC](https://community.glideapps.com/t/reversed-chat-order-cant-fix/83955/2 "2025-08-22T00:36:03Z")

</div>

> [@JohnC](#):
>
> Each new message makes the page longer (no contained scroll area).

I know this is probably not what you’re looking for, but the closest thing to what you need is adjusting the page size.

 ![CleanShot 2025-08-22 at 07.34.24@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/1/313efba196e291f07bd3b1a2076d55a4418a31cd.png)

> [@JohnC](#):
>
> Only the last N messages visible (e.g., 50)

You can use the “limit number of items” feature for this.

> [@JohnC](#):
>
> - Scroll within the chat area
> - Auto-focus/land on the latest

These are not supported.
