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

Add support for a single carousel item #1

Merged
merged 1 commit into from
Apr 18, 2018

Conversation

seanmurph
Copy link
Collaborator

I manually merged this from:

willowtreeapps#41

Currently, when we try to run the carousel with a single item we’ll crash with the following precondition:

precondition(count >= buffer, "Ouroboros requires at least twice the number of items per page to work properly. For best results: a number that is evenly divisible by the number of items per page.")

Infinite scrolling is essentially the reason it didn’t work before. There’s no way to do that with a single item. He added support for non-infinite scroll.

It took a lot of work to manually merge in his changes with Fredricks and with what was different on the origin repo. There were too many conflicts to do it automatically.

I manually merged this from:

willowtreeapps#41

Currently, when we try to run the carousel with a single item we’ll crash with the following precondition:

```
precondition(count >= buffer, "Ouroboros requires at least twice the number of items per page to work properly. For best results: a number that is evenly divisible by the number of items per page.")
```

Infinite scrolling is essentially the reason it didn’t work before.  There’s no way to do that with a single item. He added support for non-infinite scroll.

It took a lot of work to manually merge in his changes with Fredricks and with what was different on the origin repo.  There were too many conflicts to do it automatically.
@fgabelmannjr fgabelmannjr merged commit 54b40c0 into develop Apr 18, 2018
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

Successfully merging this pull request may close these issues.

2 participants