Carouse Item can't handle press event
See original GitHub issue<View key={index} style={styles.slide}>
<TouchableOpacity style={styles.slideInnerContainer} onPress={this.gotoPay} >
<Image
source={{ uri: item.url }}
style={styles.image}
/>
</TouchableOpacity>
</View>
here is the renderItem code, when I click the item , it didn’t give me any response
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Can't use event handler for carousel-item #1525 - GitHub
when I click on a carousel item there is nothing happen, but it works fine for other components such as card component. What...
Read more >Can't click on the links of the carousel posts - Stack Overflow
Consider marking event handler as 'passive' to make the page more responsive. ... Recommendations Add the passive flag to all of the event ......
Read more >Carousel - Bootstrap
A slideshow component for cycling through elements—images or slides of text—like a carousel.
Read more >7 Ways to Use Facebook Carousel Posts
Discover how to create Facebook carousel posts from scratch to capture attention, drive engagement, and get more clicks and conversions.
Read more >How to Use Instagram Carousels to 10x Engagement [Guide]
Hootsuite's own social media team finds that, on average, their carousel posts ... a geotag, and account and product tags on each image...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@oferRounds check your renderItem function. if it’s somewhat like
_renderItem ({item, index})
it should be changed like_renderItem = ({item, index}) =>
+1