onPress just do not works on Component Buttons
See original GitHub issueI configurate everything, but when i use BaseButton
, RectButton
or BorderlessButton
, they dont fire the onPress
method. Rly strange i tap and they animate.
What could be the cause?
RN: 0.51.0 React: 16.0.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (1 by maintainers)
Top Results From Across the Web
React-Native Button onPress not working - Stack Overflow
I'm trying to bind the function handleClick to my button onPress . But it's not working ...
Read more >onPress just do not works on Component Buttons #291 - GitHub
I configurate everything, but when i use BaseButton, RectButton or BorderlessButton, they dont fire the onPress method.
Read more >Button - React Native
Button. A basic button component that should render nicely on any platform. Supports a minimal level of customization.
Read more >React Native Buttons From Basic to Advanced | Waldo Blog
Learn all about buttons in React Native, the various types of native buttons, and which button components to use when.
Read more >React Native touchable vs. pressable components
button, { backgroundColor: '#22bb22' }]} onPress={onTap} activeOpacity={0.6} disabled={true}> <Text>Green button (disabled)</Text> </ ...
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
@osdnk @vlkosinov RectButton triggers onPress if used in FlatList renderItem, but not in SectionList renderItem! Test in Android platform , not sure in ios platform!
bump