M
M
Michael2020-04-17 10:59:06
React Native
Michael, 2020-04-17 10:59:06

Save scroll position?

How to save the position of the scroll, and then restore after the restart.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2020-04-17
@lwakis

I think you should take the https://reactnative.dev/docs/scrollview#onscroll method and store the scroll value and then use the https://reactnative.dev/docs/scrollview#scrollto function to scroll to the position you want

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question