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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Not Our Bug
    • Affects Version/s: Release 3.2.0, Release 3.2.1
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      Appcelerator Studio, build: 3.2.1.201401221450
      SDK build: 3.2.0.GA, 3.2.1.v20140124115658
      CLI: 3.2.1-beta3
      Alloy: 1.3.1-beta3
      Xcode: 5.0.2
      Devices: iphone 5 (7.0.2), ipad air (7.0.3)

      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

          Issue Links

            Activity

              People

              • Assignee:
                srahim Sabil Rahim
                Reporter:
                wluu Wilson Luu (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration