-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Archriss' showcase app swipe behaviour #27
Comments
@grundmanise Well, nothing but the default values. But I'm pretty sure that what you're experiencing has to do with this. I assume you are testing on an iOS device, aren't you? Can you try setting |
@grundmanise Setting the ScrollView prop |
Closing as there was no feedback. |
@prithsharma Thank you for the screencasts and the detailed explanation. To be honest, handling momentum is really tricky since there are huge differences between Android and iOS regarding ScrollView's behavior. The app has been published with version 1.4.0 of the plugin, before we tried to enhance momentum's handling. Would you mind trying with that version and see if that solves the issue for you? Note that you will have to use two deprecated props,
|
Thank you for the reply.
With only these 2 changes on my earlier code, I didn't see any resolution of the problem quoted above. If anything, the snapping also became a little unpredictable. On a fast swipe, the scroll moving till after the next slide was still happening. Any more suggestions? The bad thing is that I am not able to understand what is going inside and thus I almost feel dumb(:D) debugging this. @bd-arc can you help me with some pointers on what had changed since 1.4.0 that made you think that reverting to 1.4.0 could have solved this issue. If I understand better, maybe I' be able to give a better issue report and hopefully contribute. |
@prithsharma Hi, I understand your need for clarification ;) Since 1.5.0, we started using the What I can do for you at the moment is sharing our exact configuration for the Archriss app, which is pretty straightforward:
Setting Hope that helps! |
Thanks a lot! Let me try this out and get back. |
@prithsharma I totally get you, and that's what we're aiming at. Unfortunately, we rely on the RN That's why we're considering implementing our own |
Very well. Thank you @bd-arc for talking through this. Appreciate it. |
Hi @prithsharma did you get anywhere accomplishing the one-at-a-time feel you were going for? Trying to build a player similar to Spotify with album artwork in the carousel, but am also encountering this issue where a fast swipe will go from A -> D, then snap back to B. |
Hi @jasongrishkoff, I'm currently trying to hack a way around |
Thanks @bd-arc! Ultimately just trying to force it to do one slide at a time, regardless of what sort of swipe action the user initiates. |
Hi @jasongrishkoff, I've just released version Note that there are a lot of issues at stake with how the carousel behave on Android, but it all comes down to React Native's implementation. In the near future, I'll be working on a custom scroller/ |
Thanks, @bd-arc. Testing this now. Does the below config look right for forcing a 1-at-a-time config?
|
Oh, your carousel's container is a Regarding your config, this seems legit to me. Make sure to take a look at the release notes; you'll discover that prop You'll find below the exact configuration I used for this app which has been updated yesterday and which uses version
|
One final piece of advice: on Android, make sure to test carousel's performance and behavior without JS Dev Mode enabled, and ideally with a production build. |
Wow, didn't realize I didn't need ScrollView -- I think I pulled that from the example file. Going to use the settings you have above, without ScrollView :) And totally understand re: production testing on Android. Thanks for your help! I'll let you know if anything looks wonky. |
@jasongrishkoff You're right: I forgot that I've used a top-level By the way, I've just released version |
Thanks :) |
@prithsharma @bd-arc @jasongrishkoff any update on this issue..how this issue can be resolved. I am facing the same issue |
@bd-arc react-native: 0.49.0, Here my code
Still we have issue regarding swiping more then one cards |
Hi,
Can you please share what
animationFunc
&animationOptions
do you use in the Archriss' showcase app? The feeling of the swipe in theexample
app and in theArchriss' showcase app
drastically differ...The text was updated successfully, but these errors were encountered: