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

TextInput contained in Scroller causes problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Adobe Flex SDK 4.6 (Release), Apache Flex 4.11.0
    • None
    • None
    • Mobile

    Description

      Problem 1:
      The text (eg. "hello world") of TextInput hangs when a parent Scroller is dragged.

      Problem 2:
      TextInput is not inside the ViewPort of the Scroller. TextInput text is not clipped.

      Note:
      The exact same problem exists for TextArea
      A list is basically a Scroller - TextInput in lists/itemrenderers therefore also have problems.

      Problem 1, Case:
      TextInput text is "hello world"
      TextInput is displayed in a Scroller which can scroll (ie too much information on the screen)
      I drag my finger over the screen to scroll the Scroller.
      The text "hello world" stays put while everything else scrolls as expected
      I release the display
      "hello world" is now drawn in the TextInput again
      If there the scroller slides the view slowly after releasing the finger, "hello world" correctly follows the view.

      Workarround:
      skinClass="spark.mobile.skins.TextInputSkin"

      Conclusion:
      The problems are caused by StageTextInputSkin

      Attachments

        1. dragging.png
          52 kB
          Morten Gorm Madsen
        2. SampleMobileProject.fxp
          14 kB
          Morten Gorm Madsen
        3. still.png
          67 kB
          Morten Gorm Madsen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mortengormmadsen Morten Gorm Madsen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: