Conflict with TouchableOpacity / TouchableWithoutFeedback...
See original GitHub issueWhen using any Touchable component (instead of <View>
) as the row container, the re-ordering doesn’t work.
<Animated.TouchableOpacity style={[
styles.row,
this.state.style,
]}>
<Image source={{uri: data.image}} style={styles.image} />
<Text style={styles.text}>{data.text}</Text>
</Animated.TouchableOpacity>
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
touchableWithoutFeedback onPress and onPressOut not firing ...
I found the following did not work with TouchableWithoutFeedback but is working with TouchableOpacity on React Native 0.37.0:.
Read more >React Native Touchable is disabling ScrollView - Stack Overflow
You can have a scrollView or FlatList inside a TouchableWithoutFeedback. ... or the simplest way is to add a TouchableOpacity around Text in...
Read more >TouchableWithoutFeedback - React Native
Importantly, TouchableWithoutFeedback works by cloning its child and applying responder props to it. It is therefore required that any ...
Read more >React Native touchable vs. pressable components
The TouchableOpacity and TouchableHighlight components can each inherit several shared props from the TouchableWithoutFeedback component ...
Read more >Pressable vs. Touchable in React Native | by MahYar - Medium
Touchable components are: Button. 2. TouchableWithoutFeedback. 3. TouchableHighlight. 4. TouchableOpacity. 5. TouchableNativeFeedback. Pressable ...
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 Free
Top 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
I’ve run into this issue –
TouchableOpacity
causes the re-ordering functionality to fail. My code:When I change
TouchableOpacity
intoView
it works fine.I’m also facing same issue. Have to go through with the whole idempotent logic including revamp of handling click events in parent container. would be hugely appreciable of someone to add please status or pull request.