reactrondev/react-native-web-swiper

Crash when gesturesEnabled is set to false

luai-kalkatawi opened this issue · 2 comments

I am facing and issue. I have set gesturesEnabled to false but it is crashing with this error

'TypeError: d is not a function. (In 'd()', 'd' is false )'

Need your help @oxyii

<Swiper controlsProps={{ prevPos: false, nextPos: false, }} gesturesEnabled={false} >

Regards,

try gesturesEnabled={() => false}

try gesturesEnabled={() => false}

Thank you @dantenol ...this works for me