-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
minScrollDistancePerSwipe not available but documentaion it is showing #578
Comments
Hey there, @maghamvinod! 👋 Great to see you back here. How's everything going on your end? Based on the context provided, the Here is the relevant code snippet from the else if (
minScrollDistancePerSwipeIsSet && Math.abs(totalTranslation) < minScrollDistancePerSwipe
) {
const nextPage = Math.round((panOffset.value + minScrollDistancePerSwipe * Math.sign(totalTranslation)) / size) * size;
translation.value = withSpring(withProcessTranslation(nextPage), onScrollEnd);
} This code demonstrates that if the The
There is no mention of the removal or alteration of the If you're still having trouble accessing this property, could you please provide more information about the issue? For example, are you receiving any error messages? What steps are you taking to access this property? This will help me better understand the problem and provide a more accurate solution. Sources
|
I hade version 3.12 so i updated to 3.5.1 and i am still getting this message
using maxScrollDistancePerSwipe={300} does not cause any error whatsoever, it's just the minScrollDistancePerSwipe that is causing this error. I have tried deleteing node modules and running npm i but that did not change anything Tried installing a working version with npm install git+https://github.com/dohooo/react-native-reanimated-carousel.git#v4.0.0-alpha.10 It removed the error but caused other errors, so now i am back to 3.5.1 and wit hno minscrolldistanceperswipe |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: