{"action":"created","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5251","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5251/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5251/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5251/events","html_url":"https://github.com/react-navigation/react-navigation/issues/5251","id":382231689,"node_id":"MDU6SXNzdWUzODIyMzE2ODk=","number":5251,"title":"Drawer does not respond to touch (v3)","user":{"login":"SergeyMyssak","id":17855243,"node_id":"MDQ6VXNlcjE3ODU1MjQz","avatar_url":"https://avatars0.githubusercontent.com/u/17855243?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeyMyssak","html_url":"https://github.com/SergeyMyssak","followers_url":"https://api.github.com/users/SergeyMyssak/followers","following_url":"https://api.github.com/users/SergeyMyssak/following{/other_user}","gists_url":"https://api.github.com/users/SergeyMyssak/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyMyssak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyMyssak/subscriptions","organizations_url":"https://api.github.com/users/SergeyMyssak/orgs","repos_url":"https://api.github.com/users/SergeyMyssak/repos","events_url":"https://api.github.com/users/SergeyMyssak/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyMyssak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-19T14:10:14Z","updated_at":"2018-11-19T20:39:01Z","closed_at":null,"author_association":"NONE","body":"### Current Behavior\r\nDrawer does not respond to touch.\r\n\r\n**App.js**\r\n```\r\nimport * as React from 'react';\r\nimport { View, Button, Image, StyleSheet, Text } from 'react-native';\r\nimport { createDrawerNavigator, createAppContainer, createBottomTabNavigator } from 'react-navigation';\r\n\r\nclass TabOne extends React.Component {\r\n  render() {\r\n    return (\r\n      <View>\r\n        <Button\r\n          onPress={() => this.props.navigation.openDrawer()}\r\n          title=\"Open Drawer\"\r\n        />\r\n      </View>\r\n    );\r\n  }\r\n}\r\nclass MyHomeScreen extends React.Component {\r\n  static navigationOptions = {\r\n    drawerLabel: 'Home',\r\n  };\r\n\r\n  render() {\r\n    return (\r\n      <View style={{ flex: 1, justifyContent: 'center' }}>\r\n        <Button\r\n          onPress={() => this.props.navigation.navigate('Notifications')}\r\n          title=\"Go to notifications\"\r\n        />\r\n\r\n        <Button\r\n          onPress={() => this.props.navigation.openDrawer()}\r\n          title=\"Open Drawer\"\r\n        />\r\n\r\n      </View>\r\n    );\r\n  }\r\n}\r\n\r\nclass MyNotificationsScreen extends React.Component {\r\n  static navigationOptions = {\r\n    drawerLabel: 'Notifications',\r\n  };\r\n\r\n  render() {\r\n    return (\r\n      <View style={{ flex: 1, justifyContent: 'center' }}>\r\n        <Button\r\n          onPress={() => this.props.navigation.goBack()}\r\n          title=\"Go back home\"\r\n        />\r\n      </View>\r\n    );\r\n  }\r\n}\r\n\r\n\r\nconst BottomNavigator = createBottomTabNavigator(\r\n  {\r\n    HomeTab: TabOne,\r\n    SettingsTab: TabOne,\r\n    DetailsTab: TabOne,\r\n  }\r\n);\r\n\r\n\r\nconst MyApp = createDrawerNavigator({\r\n  BottomNavigator: {\r\n    screen: BottomNavigator,\r\n  },\r\n  Home: {\r\n    screen: MyHomeScreen,\r\n  },\r\n  Notifications: {\r\n    screen: MyNotificationsScreen,\r\n  },\r\n}, {\r\n    navigationOptions: {\r\n      drawerLockMode: 'locked-closed'\r\n    }\r\n  });\r\n\r\n\r\nexport default createAppContainer(MyApp);\r\n```\r\n**package.json**\r\n```\r\n{\r\n  \"name\": \"Drawer\",\r\n  \"version\": \"0.0.1\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"start\": \"node node_modules/react-native/local-cli/cli.js start\",\r\n    \"test\": \"jest\"\r\n  },\r\n  \"dependencies\": {\r\n    \"react\": \"16.6.1\",\r\n    \"react-native\": \"0.57.5\",\r\n    \"react-native-gesture-handler\": \"^1.0.9\",\r\n    \"react-navigation\": \"^3.0.0\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-jest\": \"23.6.0\",\r\n    \"jest\": \"23.6.0\",\r\n    \"metro-react-native-babel-preset\": \"0.49.2\",\r\n    \"react-test-renderer\": \"16.6.1\"\r\n  },\r\n  \"jest\": {\r\n    \"preset\": \"react-native\"\r\n  }\r\n}\r\n```\r\n![](https://s8.hostingkartinok.com/uploads/images/2018/11/b0224d2f84647d441722d232fbcd79cf.gif)\r\n\r\n### Expected Behavior\r\n\r\nHe must react to touch. In the project created by Expo everything works, and in the project created by react-native init does not work.\r\n\r\n### Your Environment\r\n\r\n| software         | version\r\n| ---------------- | -------\r\n| react-navigation | 3.0.0\r\n| react-native     | 0.57.5\r\n| node             | 10.4.1\r\n| npm or yarn      | npm and yarn\r\n"},"comment":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/comments/440033913","html_url":"https://github.com/react-navigation/react-navigation/issues/5251#issuecomment-440033913","issue_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5251","id":440033913,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDAzMzkxMw==","user":{"login":"vonovak","id":1566403,"node_id":"MDQ6VXNlcjE1NjY0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1566403?v=4","gravatar_id":"","url":"https://api.github.com/users/vonovak","html_url":"https://github.com/vonovak","followers_url":"https://api.github.com/users/vonovak/followers","following_url":"https://api.github.com/users/vonovak/following{/other_user}","gists_url":"https://api.github.com/users/vonovak/gists{/gist_id}","starred_url":"https://api.github.com/users/vonovak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vonovak/subscriptions","organizations_url":"https://api.github.com/users/vonovak/orgs","repos_url":"https://api.github.com/users/vonovak/repos","events_url":"https://api.github.com/users/vonovak/events{/privacy}","received_events_url":"https://api.github.com/users/vonovak/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T20:39:01Z","updated_at":"2018-11-19T20:39:01Z","author_association":"COLLABORATOR","body":"hi, thanks for reporting. We require a runnable repro of the issue so we can tackle it, can you please add it?\r\nCan you please confirm that you have installed and linked `react-native-gesture-handler`?"}}
{"actor":{"display_login":"vonovak"}}