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

How to enable trailing preview? #616

Open
kennetpostigo opened this issue Oct 18, 2017 · 6 comments
Open

How to enable trailing preview? #616

kennetpostigo opened this issue Oct 18, 2017 · 6 comments

Comments

@kennetpostigo
Copy link

kennetpostigo commented Oct 18, 2017

Hi, I was wondering if it was possible to leave a trailing preview of the next "slide" to be shown, something like:
screen shot 2017-10-18 at 9 51 04 am

Where the second "slide" is visible, but not fully shown until it is swiped. I've been trying to get this to work with this component but it's refusing to render the "trailing preview" no matter how much I tweak the sizing and display/positioning styles. Is this possible with this component?

@melalj
Copy link

melalj commented Oct 27, 2017

+1

2 similar comments
@louison
Copy link

louison commented Oct 29, 2017

+1

@aramvr
Copy link

aramvr commented Nov 7, 2017

+1

@tudorilisoi
Copy link

pass removeClippedSubviews: false in the props

@melalj
Copy link

melalj commented Nov 8, 2017

I added the prop removeClippedSubviews={false} to the component Swiper (made sure that the card is smaller than the width of the Swiper). But it did not seemed to do anything. Am I missing something?

@bd-arc
Copy link

bd-arc commented Jan 3, 2018

Hi guys! We were having a similar need and ended up creating our own plugin for that: https://github.com/archriss/react-native-snap-carousel

Hope that could help!

react-native-snap-carousel archriss aix
react-native-snap-carousel

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

6 participants