react-native-swiper icon indicating copy to clipboard operation
react-native-swiper copied to clipboard

Vertical Scroll is not working on Android

Open ShawnBaek opened this issue 10 years ago • 27 comments

I've tested on Android.

Vertical Scroll is not working.

Anyone helping me?

ShawnBaek avatar Jun 22 '16 13:06 ShawnBaek

+1

jiaxin262 avatar Jul 25 '16 07:07 jiaxin262

+1

aitnasser avatar Jul 26 '16 13:07 aitnasser

+1

hotbooyx avatar Aug 05 '16 07:08 hotbooyx

+1

swoopyy avatar Aug 06 '16 13:08 swoopyy

+1

DaxServer avatar Aug 12 '16 10:08 DaxServer

I believe this is not an issue for me anymore, as I am successfully rendering using Scrollviews on android as well.

nomoreboredom avatar Aug 18 '16 14:08 nomoreboredom

+1 (paging not working in android branch)

ryd0rz avatar Aug 19 '16 19:08 ryd0rz

+1

leon2011leon avatar Sep 13 '16 03:09 leon2011leon

+1

dioxide avatar Oct 10 '16 14:10 dioxide

"+1"s are so annoying. Why not use the reaction feature and add a "thumbs up" or something like it?

tioback avatar Oct 10 '16 19:10 tioback

+1

honzahk avatar Nov 04 '16 08:11 honzahk

+1 any news as it's a very old topic

sagivo avatar Nov 30 '16 17:11 sagivo

+1

Myrthan avatar Dec 03 '16 23:12 Myrthan

+1 Hasn't it been solved yet?

America-first-melon avatar Dec 19 '16 09:12 America-first-melon

Any news on this?

aldigjo avatar Dec 29 '16 19:12 aldigjo

+1

lybhis avatar Jan 03 '17 09:01 lybhis

+1

DuyBui1993 avatar Jan 04 '17 10:01 DuyBui1993

+1 If you render a scrollview as a page of swiper you cant scroll it on Android. IOS is fine.

Edit: -1

A scrollview within the Swiper works on Android like expected. What you have to ensure is that you specify the height of the Swiper and the nested ScrollView. The problem we run into was likely that the ScrollView's height was as huge as its content so scrolling isn't needed/possible.

I did the following:

  1. Calculated the exact height for each swiper page
  2. Set height to height prop of Swiper
  3. Pass the same height as style to the Swiper children (ScrollView)

This works like a charm. I can scroll the content of the ScrollView vertically and the Swiper horizontally.

Hope this helps you guys...

norman-kapschefsky avatar Jan 12 '17 15:01 norman-kapschefsky

Would it cause some problem if I changed "ViewPagerAndroid" to "ScrollView" in android?

BBBOND avatar Apr 06 '17 05:04 BBBOND

I am willing to work on fixing this issue. However, I am new to this project. Can anyone guide me to any leads as of yet? Thanks.

kazijehangir avatar Apr 18 '17 12:04 kazijehangir