Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15111

iOS7: autolink property with value AUTOLINK_NONE of textarea is not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: Release 3.1.3
    • Component/s: iOS
    • Environment:

      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();
      
      

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              prastogi Pragya Rastogi
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17390
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code