react-native-swipe-gestures
react-native-swipe-gestures copied to clipboard
Its work properly in ios but not working in android
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
So this lib still not support for android ?
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 thank you, {velocityThreshold: 0.1, directionalOffsetThreshold: 600} worked for me as well!
@hyunchulkwak Thank you! It works
@hyunchulkwak Thanks, Background color worked!
I've got the same issue, but It's still not working on android.
android still not working properly after changing config to { velocityThreshold: 0.1, directionalOffsetThreshold: 600 };