You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In carousel render item, each item can pressable but on scrolling item it should not be press item and on android don't press on scrolling meaning work correctly but in ios press the item in scrolling and how to disable pressing item in scrolling
here is my code
<CarouselautoPlay={false}loop={false}width={DEVICE_WIDTH*0.85}style={{width: '100%',}}height={160}data={accounts}scrollAnimationDuration={300}vertical={false}renderItem={({item})=>{return(<AccountCard{...item}onPress={()=>{console.log('press')// on ios it log 'press' on scrolling // other code ....}}/>)}}onSnapToItem={index=>{setCurrentIndex(index)}}/>```jsx<!---Anyproblemthatdoesnotincludeanaccuratereproductionstepislikelytobeclosed-->**Describethebug**Aclearandconcisedescriptionofwhatthebugis.IfyouintendtosubmitaPRforthisissue,tellusinthedescription.Thanks!**ToReproduce**Stepstoreproducethebehavior:
1.Goto'...'2.Clickon'....'3.Scrolldownto'....'4.Seeerror**Expectedbehavior**Aclearandconcisedescriptionofwhatyouexpectedtohappen.**Screenshots**Ifapplicable,addscreenshotstohelpexplainyourproblem.**Versions(pleasecompletethefollowinginformation):**-react: v^18.2.0-react-native: v^0.72.4-react-native-reanimated: v^3.3.0-react-native-reanimated-carousel: ^3.5.1-react-native-gesture-handler: ^2.12.0**Smartphone(pleasecompletethefollowinginformation):**-Device: allIphone-OS:
-Browser[e.g.stockbrowser,safari]-Version[e.g.22]**Additionalcontext**Addanyothercontextabouttheproblemhere.
The text was updated successfully, but these errors were encountered:
minkgkyaw9899
changed the title
How to disable press in child Item in Ios
How to disable press in child Item on scrolling in Ios
Mar 13, 2024
minkgkyaw9899
changed the title
How to disable press in child Item on scrolling in Ios
How to disable press child Item on scrolling in Ios
Mar 13, 2024
In carousel render item, each item can pressable but on scrolling item it should not be press item and on android don't press on scrolling meaning work correctly but in ios press the item in scrolling and how to disable pressing item in scrolling
here is my code
The text was updated successfully, but these errors were encountered: