Touchable onPress is not being called on web
draperunner opened this issue · 0 comments
draperunner commented
I'm using react-primitives v0.5.1 and nothing happens when I click my button. A simple example:
<Touchable onPress={() => console.log('Hi there!')}>
<div>
<p style={{ color: 'white' }}>Hello?</p>
</div>
</Touchable>
"Hi there!" is never printed.
I have downgraded react-primitives, and can confirm that it works in v0.4.4, but the problem exists in 0.5.0 and 0.5.1.