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

Scroller gets out of sync with RichEditableText

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: Scroller
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Internet Explorer 8.x
      Language Found: English

    Description

      Steps to reproduce:
      1.Create a RichEditableText component wrapped in a Scroller and bind the textFlow property to a variable called myTextFlow
      2.Set myTextFlow as a new TextFlow instance with text long enough to create a vertical scrollbar - doesn't have to include html tags
      3.Set myTextFlow to a new TextFlow instance with HTML text (doesn't have to be different text) in a click handler of a button placed in the view
      4.Run the app, scroll down, but not all the way to the bottom of the RET component
      5.Press the button to set it to new text

      Actual Results:
      The scroll bar remains where you put it but the new text shows in the RichEditableText component as though you were at the top.
      Moving the scrollbar at all jumps the text to the correct position.

      Expected Results:
      Scroll bar to either jump to the top when new text is in the RET component or for the scroll position of the new text to match the scrollbar.

      Workaround (if any):
      Problem shows in 4.1 SDK but not with 4.5 SDK, so if using 4.5 SDK is an option, use that.

      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: