Fixed Submitting replies attaches to latest profile block with certain setup

Affected version
2.1

Russ

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

Code:
            <xf:if is="$sidebar">
                <div class="p-body-sidebar">
                    <xf:ad position="container_sidebar_above" />
                    <xf:foreach loop="$sidebar" value="$sidebarHtml">
                        {$sidebarHtml}
                    </xf:foreach>
                    <xf:ad position="container_sidebar_below" />
                </div>
            </xf:if>
Before
Code:
            <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" />
            </div>
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)


profilebug.gif

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.
 
Top