Unable to touch and drag an SVG Line


I am trying to implement a clock in which a user can touch a pointer and move it. This behavior works as expected on iOS but not on Android. Specifically, when you touch the pointer the 1st time it works normally, however after that while the View is being displayed at the right point on the clock, the actual View(?) is in it’s original spot (invisible, but it’s there).

Snack: https://snack.expo.io/@spyshower/clock-svg (notice: lots of irrelevant code, you care about the onTouchEvent(…) function)

Edit: Another snack: https://snack.expo.io/@spyshower/smiling-blueberries

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.