fixt / react-native-page-swiper

91 stars 47 forks source link

This is swallowing events on android for me #2

Closed litch closed 8 years ago

litch commented 8 years ago

If I have a TouchableHighlight within a swiper, it works great with iOS, but on an android emulator or device, the TouchableHighlight never even gets triggered. I'm not sure why.

madwed commented 8 years ago

Do you have an example project we can look at?

cgarvis commented 8 years ago

@litch do you have some example code?

esamattis commented 8 years ago

I've also found out that this works bit weird on Android. If something is made touchable with TouchableOpacity within the swiper it's really hard to get it to register the touch. It seems that when the swiper is swiped even a pixel the touch gesture gets canceled from the TouchableOpacity.

I guess the fix would be to ignore first few pixels before the swiper starts moving.