Fixed Disappearing elements inside tabs

Newsman

Member
Affected version
2.3 Beta 1
You probably know the tabs, often appearing like this in code

HTML:
<ul class="tabPanes">
    <li data-href="{{ link('...') }}" role="tabpanel" aria-labelledby="details">
        <div class="blockMessage">{{ phrase('loading...') }}</div>
    </li>
</ul>

Now here's a new weird behaviour: let's say you click on one of the tabPanes (li) and load the associated template with it. For some reason.. the parent element of said template disappears. I noticed this when pressing a submit button inside a form (which was the top element in my template) and nothing happening - only to see that the form never appeared despite the rest of the template loading with no issues.

FWIW, this can be solved by wrapping your content inside div-tags or whatever, but I assume this is a bug?

Cheers!
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.0 Beta 3).

Change log:
Fix behavior of passing target element to `XF.setupHtmlInsert`
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom