{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/10138","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/10138/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/10138/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/10138/events","html_url":"https://github.com/facebook/react-native/issues/10138","id":179620526,"number":10138,"title":"Property keyboardShouldPersistTaps={true} not working in <Modal /> view","user":{"login":"ogtfaber","id":320955,"avatar_url":"https://avatars2.githubusercontent.com/u/320955?v=4","gravatar_id":"","url":"https://api.github.com/users/ogtfaber","html_url":"https://github.com/ogtfaber","followers_url":"https://api.github.com/users/ogtfaber/followers","following_url":"https://api.github.com/users/ogtfaber/following{/other_user}","gists_url":"https://api.github.com/users/ogtfaber/gists{/gist_id}","starred_url":"https://api.github.com/users/ogtfaber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogtfaber/subscriptions","organizations_url":"https://api.github.com/users/ogtfaber/orgs","repos_url":"https://api.github.com/users/ogtfaber/repos","events_url":"https://api.github.com/users/ogtfaber/events{/privacy}","received_events_url":"https://api.github.com/users/ogtfaber/received_events","type":"User","site_admin":false},"labels":[{"id":470317962,"url":"https://api.github.com/repos/facebook/react-native/labels/Icebox","name":"Icebox","color":"ededed","default":false},{"id":257497884,"url":"https://api.github.com/repos/facebook/react-native/labels/iOS","name":"iOS","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-09-27T21:35:08Z","updated_at":"2017-08-24T20:43:24Z","closed_at":null,"body":"### Issue Description\n\nGiven a <TextInput /> in a <Modal />, and the TextInput being active (keyboard is shown), I can't get any Touchable... element to respond to onPress before dismissing the keyboard.\n### Steps to Reproduce / Code Snippets\n\nSee the example code below. I would expect the TouchableOpacity (a yellow square) to popup an Alert while the TextInput is active and the keyboard is shown. Instead, I have to tap to dismiss the keyboard first. \n\nThe property keyboardShouldPersistTaps={true} does the trick in another view, but not inside of a <Modal />\n\n```\n<Modal\n  animationType={\"slide\"}\n  transparent={false}\n  visible={this.props.visible} >\n  <ScrollView\n    keyboardDismissMode=\"on-drag\"\n    keyboardShouldPersistTaps={true} >\n    <TouchableOpacity onPress={() => alert(1)} style={{ backgroundColor: 'yellow', width: 200, height: 200, }} />\n    <TextInput style={{\n      height: 40,\n      backgroundColor: 'red',\n    }} />\n  </ScrollView>\n</Modal>\n```\n### Additional Information\n- React Native version: 0.34\n- Platform(s): iOS\n- Operating System: macOS\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/324751950","html_url":"https://github.com/facebook/react-native/issues/10138#issuecomment-324751950","issue_url":"https://api.github.com/repos/facebook/react-native/issues/10138","id":324751950,"user":{"login":"hramos","id":165856,"avatar_url":"https://avatars3.githubusercontent.com/u/165856?v=4","gravatar_id":"","url":"https://api.github.com/users/hramos","html_url":"https://github.com/hramos","followers_url":"https://api.github.com/users/hramos/followers","following_url":"https://api.github.com/users/hramos/following{/other_user}","gists_url":"https://api.github.com/users/hramos/gists{/gist_id}","starred_url":"https://api.github.com/users/hramos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hramos/subscriptions","organizations_url":"https://api.github.com/users/hramos/orgs","repos_url":"https://api.github.com/users/hramos/repos","events_url":"https://api.github.com/users/hramos/events{/privacy}","received_events_url":"https://api.github.com/users/hramos/received_events","type":"User","site_admin":false},"created_at":"2017-08-24T20:43:24Z","updated_at":"2017-08-24T20:43:24Z","body":"Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!\n\nIf you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:\n\n- Does the issue still reproduce on the latest release candidate? Post a comment with the version you tested.\n- If so, is there any information missing from the bug report? Post a comment with all the information required by the [issue template](https://github.com/facebook/react-native/blob/master/.github/ISSUE_TEMPLATE.md).\n- Is there a pull request that addresses this issue? Post a comment with the PR number so we can follow up.\n\nIf you would like to work on a patch to fix the issue, *contributions are very welcome*! Read through the [contribution guide](http://facebook.github.io/react-native/docs/contributing.html), and feel free to hop into [#react-native](https://discordapp.com/invite/0ZcbPKXt5bZjGY5n) if you need help planning your contribution.\n"}}
{"actor":{"display_login":"hramos"}}