This Lesson is for PRO Members.

Subscribe today and get access to all lessons! Plus direct HD download
for offline use, member comment forums, and iTunes "podcast" RSS feed.
Level up your skills now!


Already subscribed? Sign In

Hide playlist

    Use React Native to Animate a Swipe Away Comment Modal

    In this lesson we'll use PanResponder gesture handlers to add the ability to swipe a modal closed in either direction. We'll need ScrollView callbacks to allow us to still scroll through comments and only close when desired. We'll use the Animated.setValue function to translate our Modal up or down depending on the direction of the swipe.

    Please take a moment to tell your friends:

    You must be a PRO Member to view code