data-xf-click="toggle" + resizing causes scrolling

Russ

Well-known member
Affected version
2.2.6
This is a rather specific occurrence. User reported automatically scrolling to the bottom when resizing their window after using a toggle feature we have. I ended up reproducing this in the default style to let you guys have a look. Original post here: https://xenforo.com/community/threads/xenbase-pixelexit-com-paid.165950/page-2#post-1532816

Steps to reproduce:
1.) Add a simple data-xf-click toggle function
Code:
<xf:fa icon="fa-bars" class="button" data-xf-click="toggle" data-active-class="activeBug" data-target=".p-pageWrapper" />

bug2.png

Here it is in action:
bug1.gif

You need to click the toggle, then resize the window and it'll scroll to the bottom.
 
Last edited:
Back
Top Bottom