bartgryszko / react-native-circular-slider

React Native component for creating circular slider :radio_button:
MIT License
877 stars 191 forks source link

Press events do not fire on Android #19

Closed innerexception closed 7 years ago

innerexception commented 7 years ago

I think it's really a react-native svg issue [363] (https://github.com/react-native-community/react-native-svg/issues/363) but thought I would leave it here since I tried this out on Android Nexus 5X and no touch events are captured by the component. If you put a breakpoint in CircularSlider.js (line 238 or so) in the G for either of the ends you will see that PressIn handler is never fired.

RN version 47, Expo version 19

innerexception commented 7 years ago

After more investigation, I dicovered the root cause was an interaction with this component: https://github.com/maxs15/react-native-modalbox. Be aware that this component puts a panResponder on top of the entire screen (for swipe to dismiss) and thus causes the react native svg issue mentioned above.