Fixed Submitting replies attaches to latest profile block with certain setup

Affected version


Well-known member
Bit of a unique one... if a user wanted to move the sidebar to the left of the content by loading:

            <xf:if is="$sidebar">
                <div class="p-body-sidebar">
                    <xf:ad position="container_sidebar_above" />
                    <xf:foreach loop="$sidebar" value="$sidebarHtml">
                    <xf:ad position="container_sidebar_below" />
            <div class="p-body-content">
                <xf:ad position="container_content_above" />
                <div class="p-body-pageContent">{$content|raw}</div>
                <xf:ad position="container_content_below" />
And they also load profile posts widget on the thread_view page, when submitting a reply it'll actually attach itself on the profile block for the initial view (refreshing fixes it obviously). I'm guessing it'll happen anytime profile post widget is loaded before the thread (top content)


Believe it has something to do with the class: js-replyNewMessageContainer

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.4).

Change log:
Increase thread quick reply message container selector specificity
Any changes made as a result of this issue being resolved may not be rolled out here until later.