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

Default Layout Last Item should be attached to right side #835

Open
5 tasks done
devWaleed opened this issue Apr 26, 2021 · 2 comments
Open
5 tasks done

Default Layout Last Item should be attached to right side #835

devWaleed opened this issue Apr 26, 2021 · 2 comments

Comments

@devWaleed
Copy link

Is this a bug report, a feature request, or a question?

This is a question. I am using default layout with activeSlideAlignment={'start'}. Suppose if I have 4 items, If I scroll to far left, the last item will be shown attached to left side with plenty of white space. I want to stop left scrolling if the last item is shown, similarly for right swipe as well.

Image 1: Normal state when items are filled in carousel
WhatsApp Image 2021-04-26 at 5 27 01 PM

Image2: All items swiped to far left showing white space in right side
WhatsApp Image 2021-04-26 at 5 27 01 PM (1)

Note that I have more than 3 items in each section but still it will scroll last item all the way to left side.

@pryan-x
Copy link

pryan-x commented May 1, 2021

Issue #102 has a workaround for this problem.

@dohooo

This comment was marked as spam.

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

3 participants