reactrondev / react-native-web-swiper

Swiper-Slider for React-Native and React-Native-Web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash when gesturesEnabled is set to false

luai-kalkatawi opened this issue · 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