{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/8488","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/8488/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/8488/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/8488/events","html_url":"https://github.com/facebook/react-native/issues/8488","id":162927968,"number":8488,"title":"PanResponder inside of Listview not working correctly","user":{"login":"K-Leon","id":2196713,"avatar_url":"https://avatars.githubusercontent.com/u/2196713?v=3","gravatar_id":"","url":"https://api.github.com/users/K-Leon","html_url":"https://github.com/K-Leon","followers_url":"https://api.github.com/users/K-Leon/followers","following_url":"https://api.github.com/users/K-Leon/following{/other_user}","gists_url":"https://api.github.com/users/K-Leon/gists{/gist_id}","starred_url":"https://api.github.com/users/K-Leon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/K-Leon/subscriptions","organizations_url":"https://api.github.com/users/K-Leon/orgs","repos_url":"https://api.github.com/users/K-Leon/repos","events_url":"https://api.github.com/users/K-Leon/events{/privacy}","received_events_url":"https://api.github.com/users/K-Leon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-29T13:39:56Z","updated_at":"2016-06-29T20:35:21Z","closed_at":"2016-06-29T20:35:21Z","body":"I noticed this issue first when i tried to use the new SwipableListView component:\r\n\r\n**The PanResponder used to handle the Swiping inside of ListView Items \"catches\" all ScrollEvents of the ListView resulting in an blocked ListView**. There's no working way for all platforms to prevent the Child component from locking the Listview.\r\n\r\n**iOS:**\r\nOn iOS you can fix this by adding a larger threshold to call the lock, due to the fact that direction specific Scrolllocking is implemented in JS: \r\nhttps://github.com/facebook/react-native/blob/master/Libraries/Experimental/SwipeableRow/SwipeableListView.js#L132-L138\r\n\r\n**Android:**\r\nOn Android this leads to a unusable ( randomly locking ) ListView, because Direction Locking is 'native'. At least i've no idea how to disable it. \r\n\r\nThe same issues apply to 0.27. \r\n\r\nI pieced together a minimal running example in 28 that shows the issue on iOS and Android. ( Android is in 0.28 even more broken - at least for 4.x )\r\n\r\n**Example:**\r\nhttps://github.com/K-Leon/react-native-scrollbug\r\n\r\nTo get this working i needed to upgrade SwipableListView with latest master Version because there are a few bugs.\r\n\r\nAnother one that needs to get changed to get the example up and running:\r\nhttps://github.com/facebook/react-native/blob/master/Libraries/Experimental/SwipeableRow/SwipeableListView.js#L55 \r\nHas to be changed to: `getRowData: (data, sectionID, rowID) => data[sectionID][rowID],` )\r\n\r\nFor this and a few other small ones i'll send a pull request as soon as i could figure out what's going on and how it's possible to fix android scrolling. \r\n\r\ncc: @fred2028 "}}
{"actor":{"display_login":"K-Leon"}}