Skip to content

Adds support for nested scrollviews #91

Open
wants to merge 1 commit into from

1 participant

@sandofsky

Not sure of a more elegant way to detect perpendicular direction. Having to wait for the first change event means the final target scrollview will lose the NSEventPhaseBegan, but preliminary testing didn't cause any problems.

Tested on a magic track pad.

Ben Sandofsky Forward scroll events up the responder chain.
The default implementation of a responder is to forward scroll events up
the chain.

If a TUIScrollView cannot scroll in the given direction, forward it up
the chain.

Accomplish the direction detection by inspecting the direction of the
first NSEventPhaseChanged.

Include an example of nested scroll views within the example project.
e33585d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.