Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 'circular' option #1

Open
wilsonpage opened this issue Aug 3, 2015 · 2 comments
Open

Support 'circular' option #1

wilsonpage opened this issue Aug 3, 2015 · 2 comments

Comments

@wilsonpage
Copy link
Contributor

No description provided.

@wilsonpage
Copy link
Contributor Author

Is this going to be tricky to keep the native momentum scrolling when jumping back to the top of the list? i guess it can be faked somehow.

@etiennesegonzac
Copy link
Contributor

I think we should make the list very long (~1000px), with the scrollbar hidden obviously and start from the center.
Then at the end of each dragging gesture we schedule a mutation block to get us back to the center (making sure the same content will be rendered) in one frame.

It'll take some tweaking but we can figure it out :)

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

No branches or pull requests

2 participants