{ "id": "174697", "key": "AC-6484", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2020-02-06T18:04:36.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-02-18T21:49:00.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "Hi,\r\n\r\nFor details of my ticket, please clone project at this git repo. The project was too large to attach here.\r\n\r\nhttps://github.com/ericpolkadoc/androidtextarealinks\r\n\r\nSummary:\r\nI am having an issue when applying a link listener to a textarea, when using attributedStrings. In one instance I am not able to access the e.url on Android. iOS works as expected.\r\n\r\nExplanation:\r\nWhen running the cloned project, there are 2 buttons in the index.js.\r\n\r\n- No require - all logic is done in the messages.js controller. There are no issues, attributedStrings work as expected.\r\n\r\n- With require - in this example, I am Require'ing the UI/ui.message.js controller, which has a \"link\" listener applied to the attributedStrings in the textarea, which I expect to let me access the e.url.\r\n\r\nIn this 2nd instance, on Android, the links are clickable, but they are all treated as external links, as the \"link\" event is not being fired, and I cannot access e.url of the attributedString.\r\n\r\nIs there a reason why the link event listener is removed when using the require'd version vs the all-in-one controller version?\r\n\r\nThanks!\r\n", "attachment": [], "flagged": false, "summary": "Android textarea, attributedString \"link\" listener ignored when used in a require'd controller.", "creator": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc SDK 8.2.1.GA\r\nTI CLI 5.1.0", "comment": { "comments": [ { "id": "454321", "author": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi just checking in to see if there is someone that can take a look at this one for me. Thanks!", "updateAuthor": { "name": "capsizeno4", "key": "capsizeno4", "displayName": "eric harms", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-18T21:49:00.000+0000", "updated": "2020-02-18T21:49:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }