react-native-swipe-gestures icon indicating copy to clipboard operation
react-native-swipe-gestures copied to clipboard

Its work properly in ios but not working in android

Open Manthanpawar opened this issue 5 years ago • 7 comments

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

Manthanpawar avatar May 07 '19 10:05 Manthanpawar

So this lib still not support for android ?

shehan-mark avatar Jun 18 '19 09:06 shehan-mark

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' }}>
   // ...

hyunchulkwak avatar Jan 05 '20 14:01 hyunchulkwak

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

appy9 avatar Feb 20 '20 08:02 appy9

@hyunchulkwak Thank you! It works

gigby avatar Jun 21 '21 20:06 gigby

@hyunchulkwak Thanks, Background color worked!

whitesnow9291 avatar Dec 07 '21 03:12 whitesnow9291

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

davitdarsalia avatar Jan 04 '23 11:01 davitdarsalia

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

jerryphm avatar Sep 11 '23 06:09 jerryphm