[TIMOB-16313] iOS 7: TextArea: TextArea with property Ti.UI.AUTOLINK_ALL will highlight all valid links when you press on a link
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2014-01-28T20:38:04.000+0000 |
Affected Version/s | Release 3.2.0, Release 3.2.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | ios7, qe-3.2.1 |
Reporter | Wilson Luu |
Assignee | Sabil Rahim |
Created | 2014-01-25T00:39:12.000+0000 |
Updated | 2014-03-04T21:44:27.000+0000 |
Description
*Details:* When you create a TextArea with property autoLink set to Titanium.UI.AUTOLINK_ALL, then all links will be highlighted when you press on a link.
*This is not a regression as this occurs in 3.2.0.GA and only occurs on an iOS 7 device.*
*Steps to reproduce:*
1. Install the following app.js to a iOS 7 device:
var win = Ti.UI.createWindow({
backgroundColor: 'white'
});
var ta = Ti.UI.createTextArea({
left : 5,
top : 5,
right : 5,
height : 180,
editable : false,
backgroundColor : '#ccc',
autoLink : Titanium.UI.AUTOLINK_ALL,
value : 'Contact\n\n test@test.com\n\n 817-555-5555\n\n http://bit.ly\n\n 444 Castro Street, Mountain View, CA'
});
win.add(ta);
win.open();
2. Press on any of the links before the address e.g. the first link
*Actual:* All links will be highlighted (see highlight.png).
*Expected:* Only the pressed link should be highlighted.
Attachments
File | Date | Size |
---|---|---|
highlight.png | 2014-01-25T00:39:12.000+0000 | 42997 |
Tested the same with native SDK. behaves the same way as Titanium does. Marking tickets as NOT OUR BUG. [Native Test Code](https://www.dropbox.com/s/gnt6wv7hk5x65r5/text.zip)
Closing based on Sabil's comment