XF 1.5 Submit post will scroll to the new post


Active member
Can someone guide me how to achieve this:

When submit a new post, the browser will scroll to the newly created post.

Any help would be appreciated.


XenForo moderator
Staff member
It's not clear what you're asking.

Posts are made via the editor at the bottom of the page and inserted without a page reload.


Active member
When I click submit, the page stay at the same location without page reload.

What I want is that:
When I click submit, it will scroll to the #newmessage without page reload.

It may sound weird, but this is what I want to achieve.


Well-known member
What's wrong with it as it is? Currently it's pretty near the top of the new message anyway (well it's above it so it's not cutting off any of the start of the message).

If you use More Options and use the full editor it will do what you want.


Active member
Cause I'm trying to make the editor "position: fixed", so I need it to scroll to bottom after submit.
Last edited:


Well-known member
So basically users who want to double check their posts after submission will have to scroll up the page before they start reading, especially for longer posts, if you are able to implement this.


Active member
So preferably it can scroll straight to the newly created post.

If can't, scroll to bottom of the page would be the next best option.