Direction lock question: On a vertically scrolling page full of horizontally scrolling lists (think Netflix), if the user doesn't drag more or less precisely in the intended direction, it doesn't scroll at all on any axis. I'd like to always scroll either horizontally or vertically, just not both at the same time. Can I hack directionlock to do that, or do I need to add my own logic?
My first thought is to just do it myself by leaving direction lock off and checking the angle of the initial drag, and toggle scrollHorizontal/-Vertical as needed..
4 Comments