question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React-Native 0.61.0-rc.0 - Touchable* & *Button does not trigger `onPress` event.

See original GitHub issue

Hi,

With newest RC version, onPress event is not triggered. I’m not sure yet with GestureHandlers but I will create repro example with both 60.x & 61.x.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:21
  • Comments:23 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
chillios-tscommented, Sep 26, 2019

@kmagiera I’m closing this as RNGH is working properly with RN 61.1.

Thanks 🙌 🙌 🙌

13reactions
JonnyBurgercommented, Sep 7, 2019

With 0.61.0-rc.2 also all the components relying on PanGestureHandler don’t seem to work. Native Swipeable and react-native-modalize don’t accept any swipe gestures anymore.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native - onPress function does not trigger - Stack Overflow
The only way I was able to trigger the function was when I removed the arrow function from the onPress class. onPress={this.buttonClicked()} But ......
Read more >
Pressable - React Native
Pressable is a Core Component wrapper that can detect various stages of press interactions on any of its defined children.
Read more >
prevent touch parent on children view react native - You.com
Attempt to use the button. Describe what you expected to happen: I would expect the touchable surfaces to work (onPress events etc.) Snack,...
Read more >
Button - React Native Elements
This is documentation for React Native Elements 2.3.2, which is no longer actively maintained. For up-to-date documentation, see the latest version (4.0.0-rc.
Read more >
Using Buttons in React Native - Kenny Marks - Medium
There are two types of button elements commonly used in React Native, the Touchable ... However, this is not the same as the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found