{"action":"created","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/157","repository_url":"https://api.github.com/repos/react-native-community/react-native-svg","labels_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/157/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/157/events","html_url":"https://github.com/react-native-community/react-native-svg/issues/157","id":182248468,"number":157,"title":"Touch event is canceled on small move because element height is 0","user":{"login":"gorangajic","id":249310,"avatar_url":"https://avatars.githubusercontent.com/u/249310?v=3","gravatar_id":"","url":"https://api.github.com/users/gorangajic","html_url":"https://github.com/gorangajic","followers_url":"https://api.github.com/users/gorangajic/followers","following_url":"https://api.github.com/users/gorangajic/following{/other_user}","gists_url":"https://api.github.com/users/gorangajic/gists{/gist_id}","starred_url":"https://api.github.com/users/gorangajic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorangajic/subscriptions","organizations_url":"https://api.github.com/users/gorangajic/orgs","repos_url":"https://api.github.com/users/gorangajic/repos","events_url":"https://api.github.com/users/gorangajic/events{/privacy}","received_events_url":"https://api.github.com/users/gorangajic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-11T12:16:15Z","updated_at":"2016-12-02T16:00:14Z","closed_at":null,"body":"On galaxy s6 touch is so sensitive that when you tap on the phone sometimes move event is fired. And because height in [`TouchableMixin._handleQueryLayout`](https://github.com/facebook/react-native/blob/9ee815f6b52e0c2417c04e5a05e1e31df26daed2/Libraries/Components/Touchable/Touchable.js#L576) is **0** so because of that [`isTouchWithinActive`](https://github.com/facebook/react-native/blob/9ee815f6b52e0c2417c04e5a05e1e31df26daed2/Libraries/Components/Touchable/Touchable.js#L477) will always be false and touch event will be canceled.\n\nNow I am not sure how to fix because I am not sure how react-native is getting that value from the native component. Any help is appreciated\n"},"comment":{"url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/comments/264488793","html_url":"https://github.com/react-native-community/react-native-svg/issues/157#issuecomment-264488793","issue_url":"https://api.github.com/repos/react-native-community/react-native-svg/issues/157","id":264488793,"user":{"login":"danielduner","id":148074,"avatar_url":"https://avatars.githubusercontent.com/u/148074?v=3","gravatar_id":"","url":"https://api.github.com/users/danielduner","html_url":"https://github.com/danielduner","followers_url":"https://api.github.com/users/danielduner/followers","following_url":"https://api.github.com/users/danielduner/following{/other_user}","gists_url":"https://api.github.com/users/danielduner/gists{/gist_id}","starred_url":"https://api.github.com/users/danielduner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielduner/subscriptions","organizations_url":"https://api.github.com/users/danielduner/orgs","repos_url":"https://api.github.com/users/danielduner/repos","events_url":"https://api.github.com/users/danielduner/events{/privacy}","received_events_url":"https://api.github.com/users/danielduner/received_events","type":"User","site_admin":false},"created_at":"2016-12-02T16:00:14Z","updated_at":"2016-12-02T16:00:14Z","body":"Any update on this?\r\n\r\nThe reason I'm using svg is to get non-rectangular buttons, specifically in a scroll view.\r\n\r\n![left-right-buttons](https://cloud.githubusercontent.com/assets/148074/20839812/42e8865e-b8ae-11e6-839d-07b5b91c91af.png)\r\n\r\nOnce one svg element has failed to register an onPress event, then no other svg element will register presses until the view is reloaded.\r\n\r\nThe workaround of setting onResponderMove to NOPs on the SVG elements doesn't seem to work, maybe because of how the scroll view works? Is there any other workaround I can attempt?"}}
{"actor":{"display_login":"danielduner"}}