Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15111] iOS7: autolink property with value AUTOLINK_NONE of textarea is not working

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-09-27T22:48:50.000+0000
Affected Version/sRelease 3.1.3
Fix Version/s2013 Sprint 20, 2013 Sprint 20 API, Release 3.2.0
ComponentsiOS
Labelsdev-invalidate, ios7, qe-3.1.3, qe-closed-3.3.0
ReporterPragya Rastogi
AssigneeIngo Muschenetz
Created2013-09-10T09:51:12.000+0000
Updated2014-07-17T09:33:42.000+0000

Description

The linked text is not delinked on clicking button wherein text is set to AUTOLINK_NONE . This is not a regression as this is iOS 7 specific issue since it occurs on iOS7 simulator and iPod touch2 (iOS7) , iPhone4s(ios7), ipad 3(ios7) devices. It works fine on iPod touch3 (iOS6.1) Steps to Reproduce: 1. Create an app using code provided(below) in app.js 2. Run app (You should see 4 links ) 3. Click on "Click me!" button (You should see no links.) Actual: Text above in four lines appear as link Expected: You should see no links. Text must appear as plain text on clicking button(It should get delinked)
Titanium.UI.setBackgroundColor('#000');
var _window = Titanium.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 test@test.com\n 817-555-5555\n http://bit.ly\n 444 Castro Street, Mountain View, CA'
});

var b1 = Ti.UI.createButton({
	title : "Click me!"
});
b1.addEventListener('click', function(e) {
	ta.autoLink = Titanium.UI.AUTOLINK_NONE;// Not Working.
});
_window.add(ta);
_window.add(b1);

_window.open();

Comments

  1. Sabil Rahim 2013-09-27

  2. Pragya Rastogi 2014-07-17

    Closing as Duplicate of TIMOB-15059

JSON Source