Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Allow the use of an animated ScrollView #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lra-tapptic
Copy link

If the renderScrollComponent props returns an <Animated.ScrollView>, use component._component as a ref to access the ScrollView component

If the renderScrollComponent props returns an <Animated.ScrollView>, use component._component as a ref to access the ScrollView component
@ide
Copy link
Member

ide commented Jul 1, 2017

Instead of relying on the Animated ScrollView's private state, can you mix in https://github.com/expo/react-native-scrollable-mixin with Animated ScrollView so its public interface matches ScrollView's? That way we just need to make this change to Animated ScrollView once instead of changing every component that wraps a ScrollView.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants