Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

initialScrollOffset support #700

Unanswered
DaveLomber asked this question in Q&A
Discussion options

There is https://shopify.github.io/flash-list/docs/usage#initialscrollindex initialscrollindex supported.

Is there any way to have/do initialScrollOffset ?

You must be logged in to vote

Replies: 2 comments

Comment options

Hey @naqvitalha, can we also set viewPosition and animated somehow? If I would like re-center my view after scroll to first index?

You must be logged in to vote
0 replies
Comment options

Hi!

Since v2, initialScrollOffset doesn't work anymore because flash-list is not based on RecyclerListView anymore.

We've got initialScrollIndex and initialScrollIndexParams now, but how to re-create those values from the offset we receive in the onScroll ?

Thank's

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /