{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/5649","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/5649/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/5649/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/5649/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/5649","id":165019195,"number":5649,"title":"MapView does not capture scroll gestures","user":{"login":"justasm","id":1081815,"avatar_url":"https://avatars.githubusercontent.com/u/1081815?v=3","gravatar_id":"","url":"https://api.github.com/users/justasm","html_url":"https://github.com/justasm","followers_url":"https://api.github.com/users/justasm/followers","following_url":"https://api.github.com/users/justasm/following{/other_user}","gists_url":"https://api.github.com/users/justasm/gists{/gist_id}","starred_url":"https://api.github.com/users/justasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justasm/subscriptions","organizations_url":"https://api.github.com/users/justasm/orgs","repos_url":"https://api.github.com/users/justasm/repos","events_url":"https://api.github.com/users/justasm/events{/privacy}","received_events_url":"https://api.github.com/users/justasm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-12T08:15:43Z","updated_at":"2016-07-13T14:43:42Z","closed_at":"2016-07-13T14:43:42Z","body":"<!--\r\nHello and thanks for contributing! To help us diagnose your problem quickly, please:\r\n\r\n - Include a minimal demonstration of the bug, including code, logs, and screenshots.\r\n - Ensure you can reproduce the bug using the latest release.\r\n - Only post to report a bug or request a feature; direct all other questions to: https://stackoverflow.com/questions/tagged/mapbox\r\n-->\r\n\r\n**Platform:** Android\r\n**Mapbox SDK version:** 4.1.0\r\n\r\n### Steps to trigger behavior\r\n\r\n 1. Place MapView in a horizontally paging [ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager.html).\r\n 2. Scroll MapView horizontally.\r\n\r\n### Expected behavior\r\nMapView captures the horizontal scroll gesture and the ViewPager does not page. The user can pan the map left and right.\r\n\r\n### Actual behavior\r\nMapView does not capture the horizontal scroll gesture and the ViewPager pages. The user effectively cannot pan the map horizontally.\r\n\r\n### Discussion\r\nWhen MapView detects a scroll gesture that it will handle, it should request that parent ViewGroups in its hierarchy do not intercept further scroll events using [`requestDisallowInterceptTouchEvent`](https://developer.android.com/reference/android/view/ViewParent.html#requestDisallowInterceptTouchEvent(boolean)). This would match the behaviour of MapView in the Google Maps Android API v2."}}
{"actor":{"display_login":"tobrun"}}