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

RTE on Scroller when rotating device in mobile simulator

    XMLWordPrintableJSON

Details

    Description

      When rotating the mobile simulator (Menu Device>Rotate left or right), I get the following error:

      Error #1056: Cannot create property null on spark.components.DataGroup.
      
      at spark.components::Scroller/http://www.adobe.com/2006/flex/mx/internal::snapElement()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1571]
      	at spark.components::Scroller/checkScrollPosition()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1750]
      	at spark.components::Scroller/handleSizeChange()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:1766]
      	at spark.components::Scroller/handleSizeChangeOnUpdateComplete()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Scroller.as:2048]
      

      In Scroller:1571 viewport[scrollProperty] = snapScrollPosition;
      scrollProperty is null, which trigger the RTE.

      Scroller belongs to a spark:List with HorizontalLayout and verticalScrollPolicy style is set to ScrollPolicy.OFF.

      also, the RTE does not seem to occur on the real device, but maybe it is just swallowed...

      Attachments

        Activity

          People

            Unassigned Unassigned
            maurice.amsellem Maurice Amsellem (old)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: