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

Cannot highlight text and manually enter hex color in ColorPicker to change only selected text

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: Rich Text Editor
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Type random text into a RichTextEditor text area
      2. Select/highlight some of this text
      3. Go to ColorPicker, rather than selecting a swatch type in a hex color
      4. Hit the Enter key (since this is the only way to close the dropdownSwatch and retain the color you typed in manually)

      Actual Results:
      The highlighted text is now gone because the Keyboard event seems to bubble up to the text area and is rendering as a new line return.

      Expected Results:
      close dropdownSwatch and have only highlighted/selected text have the color of the color you just typed in.

      Workaround (if any):
      There is no work around that I have found. I have tried to catch and stopImmediatePropagation of the Keyboard event on everything from the RichTextEditor, to the ColorPicker to the TextArea and nothing seems to be working. For some reason this event still seems to be getting through, or my diagnosis of the bug is incorrect.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: