Hi framing humans!
I wonder if you could help me with directionLock. I've got a horizontally scrolling pageComponent nested within a vertically scrolling scrollComponent which itself was automatically generated by a flowComponent.
How can I stop the vertical scrollComponent from picking up drag events on the pageComponent which start horizontal but then move vertically or diagonally?
I've managed to do the opposite (stop the pageComponent from responding to drag events which start vertical but then become horizontal) using:
myPageComponent = new PageComponent
But I don't seem to be able to use the same technique on the scrollComponent (which is generated on the fly by the flowComponent, as I mentioned). A separate but related question: how can I target this auto-generated scrollComponent? 'myFlowComponent.scrollComponent' evaluates to 'undefined', as it doesn't exist at the beginning of the flow, so I'm not sure how to get at it.
Any pointers much appreciated! Thanks :D