{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/1030","labels_url":"https://api.github.com/repos/facebook/react-native/issues/1030/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/1030/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/1030/events","html_url":"https://github.com/facebook/react-native/issues/1030","id":71115983,"number":1030,"title":"Nested <Text> clicks","user":{"login":"agentcooper","id":794591,"avatar_url":"https://avatars.githubusercontent.com/u/794591?v=3","gravatar_id":"","url":"https://api.github.com/users/agentcooper","html_url":"https://github.com/agentcooper","followers_url":"https://api.github.com/users/agentcooper/followers","following_url":"https://api.github.com/users/agentcooper/following{/other_user}","gists_url":"https://api.github.com/users/agentcooper/gists{/gist_id}","starred_url":"https://api.github.com/users/agentcooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agentcooper/subscriptions","organizations_url":"https://api.github.com/users/agentcooper/orgs","repos_url":"https://api.github.com/users/agentcooper/repos","events_url":"https://api.github.com/users/agentcooper/events{/privacy}","received_events_url":"https://api.github.com/users/agentcooper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-26T20:29:14Z","updated_at":"2015-04-26T21:43:58Z","closed_at":null,"body":"Hey.\r\n\r\nI want to render some hypertext, e.g\r\n```js\r\nvar hypertext = 'this is <a href=\"http://facebook.com\">facebook.com</a> link';\r\n```\r\n\r\nI tried programmatically splitting into\r\n```jsx\r\n<Text>\r\n  <Text>this is </Text>\r\n  <Text onPress={this.onLinkPress} style={{color: '#0000ff'}}>facebook.com</Text>\r\n  <Text> link</Text>\r\n</Text>\r\n```\r\n\r\nbut obviously `onPress` wouldn't work, because nested text is [transformed](https://facebook.github.io/react-native/docs/text.html#nested-text).\r\n\r\n1. Should a message be thrown if `onPress` is being set on the nested text?\r\n2. Is there any good way to get a click handler on the link?"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/96438353","html_url":"https://github.com/facebook/react-native/issues/1030#issuecomment-96438353","issue_url":"https://api.github.com/repos/facebook/react-native/issues/1030","id":96438353,"user":{"login":"sahrens","id":1509831,"avatar_url":"https://avatars.githubusercontent.com/u/1509831?v=3","gravatar_id":"","url":"https://api.github.com/users/sahrens","html_url":"https://github.com/sahrens","followers_url":"https://api.github.com/users/sahrens/followers","following_url":"https://api.github.com/users/sahrens/following{/other_user}","gists_url":"https://api.github.com/users/sahrens/gists{/gist_id}","starred_url":"https://api.github.com/users/sahrens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahrens/subscriptions","organizations_url":"https://api.github.com/users/sahrens/orgs","repos_url":"https://api.github.com/users/sahrens/repos","events_url":"https://api.github.com/users/sahrens/events{/privacy}","received_events_url":"https://api.github.com/users/sahrens/received_events","type":"User","site_admin":false},"created_at":"2015-04-26T21:43:58Z","updated_at":"2015-04-26T21:43:58Z","body":"Yeah, we need to support this. cc @a2\n\n> On Apr 26, 2015, at 2:04 PM, Vladimir Kurchatkin <notifications@github.com> wrote:\n> \n> I think it's not possible currently, but could be implement with NSLinkAttributeName\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}