Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22367

First Click on Link in TextArea is ignored if selectable and editable are false.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • Adobe Flex SDK 3.3 (Release)
    • None
    • mx: TextArea
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Run this:

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" >

      <mx:Script>
      <![CDATA[
      [Bindable]
      public var testHTML : String = "<a href='event:doSomething'>A Link</a>";
      ]]
      >
      </mx:Script>

      <mx:TextArea id="myTextArea"
      width="100%" height="100%"
      backgroundAlpha="0"
      htmlText="

      {testHTML}

      " selectable="false"
      editable="false"
      link="status.text='LINK event dispatched';" />

      <mx:Label text="" id="status" />

      </mx:Application>

      When you click on the link in the TextArea for the first, the link event is not dispatched if selectable is false. A second click does dispatch the event. Changing selectable to true fixes the issue.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: