1 year ago

#332987

test-img

Dmytro Omelyan

Is there a way to somehow control the scroll position of scrollable components (e.g. ScrollView) declaratively?

i.e. by using a variable: state, Animated value, Reanimated value, whatever...

We can use imperative scrolling (like scrollToOffset etc.), but what about a declarative one? I mean how can we control the offset by dragging some other view using a pan responder for example?

react-native

react-native-scrollview

0 Answers

Your Answer

Accepted video resources