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

Slider swipes like one long image on Android #20

Closed
Clcll opened this issue Nov 22, 2016 · 11 comments
Closed

Slider swipes like one long image on Android #20

Clcll opened this issue Nov 22, 2016 · 11 comments

Comments

@Clcll
Copy link

Clcll commented Nov 22, 2016

How can I swipe images like in slider not as a one ling picture. Thank you

@PaulBGD
Copy link
Owner

PaulBGD commented Nov 22, 2016

You'll need to be more specific, maybe give an example.

@indesignlatam
Copy link

I have found this issue to sometimes in Android only. If you scroll to next image images dont snap, they just scroll as a standard ScrollView.

I havent been able to track down where or why this happens. On android 4.4.4 happens sometimes while on android 5 or 5.1 happens always in my case.

Still i think is a styling problem as i have found other components using sliders having this very same issue.

@sundou
Copy link

sundou commented Dec 29, 2016

@indesignlatam @PaulBGD
I think the result he want just like ' pagingEnabled={true} ' on ScrollView
On iOS everything is ok. But on Android , i have found same issue. I am Android 5.1.1 Nexus 5.
And i found the problem is Function 'onPanResponderRelease' didn't response.
If i put the 'PanResponder' on the normal View , the Function 'onPanResponderRelease' can be callback. But on ScrollView can't.
It is so weird.

@indesignlatam
Copy link

The issue might be related to this facebook/react-native#9447

This could help, i havent tested it yet.

Hello, on Android, onPanResponderTerminate will be called rather than onPanResponderRelease

@PaulBGD
Copy link
Owner

PaulBGD commented Jun 8, 2017

@dhimoet The real solution is that I need to find some time to work on this library.

@callmejm
Copy link

callmejm commented Oct 4, 2017

I having the same issue , still can't find any solution for this. Any idea ?

@Clcll
Copy link
Author

Clcll commented Oct 4, 2017

@JayricMok Hi, use this one https://github.com/leecade/react-native-swiper, it works perfectly for me on Android and IOS

@callmejm
Copy link

callmejm commented Oct 4, 2017

@Clcll Hi, thanks for your reply. I found that library also, but it feel like only for ios am i right ?

@Clcll
Copy link
Author

Clcll commented Oct 4, 2017

@JayricMok No, it works for both platform

@callmejm
Copy link

callmejm commented Oct 4, 2017

@Clcll oh really ? I will try it out ! Thanks you !

@Clcll
Copy link
Author

Clcll commented Oct 4, 2017

@JayricMok Ypu're welcome

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