The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Horizontal drag scrolling Reply To: Horizontal drag scrolling


Okay, this was breaking the script on Android :

if (requestAnimationFrame) var neoteric = true;

So that’s now changed into :

if (window.requestAnimationFrame) var neoteric = true;

But my phone doesn’t support the feature so I’m not sure it’s the same cause as the issue you mentioned (good to know at least, I’ll need to update a few scripts). Might depend on the OS of the iPad :

Or maybe Apple takes a stricter approach to checking for support. Hope that solved it in any case.

Adding a blur event to cancel dragging didn’t work on Chrome or Opera so made that a mouseleave. No need for a link to the test page, I think. Here’s another pen :

Let me know if that fixed most of it…