• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Clicking image twice redirects to the top

CyberAP

Well-known member
#1
On mobile click once on an image to extend it, then click again to downsize. You expect to stay on the same place but instead you'll be redirected to the top of the page.
Tested on iPhone 5, iOS 6.1.4.
 

Mike

XenForo developer
Staff member
#4
This is just bizarre. It happens if you try to set the scrollLeft after setting the scrollTop (even if it's not changing). Flipping them around fixes it.