glepur / react-native-swipe-gestures

4-directional swipe gestures for react-native
MIT License
607 stars 162 forks source link

Its work properly in ios but not working in android #35

Open Manthanpawar opened 5 years ago

Manthanpawar commented 5 years ago

Also i m adding view as you said but its not working proper number of attempts for swipe down then model will be closed

So please help me

shehan-mark commented 5 years ago

So this lib still not support for android ?

hyunchulkwak commented 4 years ago

FYI, decreasing velocityThreshold, increasing directionalOffsetThreshold and adding background color to GestureRecognizer component and inner View component worked for me.

const swipeConfig = {
    velocityThreshold: 0.1,
    directionalOffsetThreshold: 600
};

<GestureRecognizer
  config={swipeConfig}
  style={{ backgroundColor: '#fff' }}
>
  <View style={{ backgroundColor: '#fff' }}>
   // ...
appy9 commented 4 years ago

@hyunchulkwak thank you, {velocityThreshold: 0.1, directionalOffsetThreshold: 600} worked for me as well!

gigby commented 3 years ago

@hyunchulkwak Thank you! It works

whitesnow9291 commented 2 years ago

@hyunchulkwak Thanks, Background color worked!

davitdarsalia commented 1 year ago

I've got the same issue, but It's still not working on android.

jerryphm commented 1 year ago

android still not working properly after changing config to { velocityThreshold: 0.1, directionalOffsetThreshold: 600 };