Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16313] iOS 7: TextArea: TextArea with property Ti.UI.AUTOLINK_ALL will highlight all valid links when you press on a link

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNot Our Bug
Resolution Date2014-01-28T20:38:04.000+0000
Affected Version/sRelease 3.2.0, Release 3.2.1
Fix Version/sn/a
ComponentsiOS
Labelsios7, qe-3.2.1
ReporterWilson Luu
AssigneeSabil Rahim
Created2014-01-25T00:39:12.000+0000
Updated2014-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

FileDateSize
highlight.png2014-01-25T00:39:12.000+000042997

Comments

  1. Sabil Rahim 2014-01-28

    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)
  2. Eric Merriman 2014-03-04

    Closing based on Sabil's comment

JSON Source