Details

    Description

      When the datagrid is created it has the vertical scrollbar. When you either change the state of the component where the datagrid is created the scrollbar disappears. Also in a new calloutbutton container the first open (so when the grid is created) it has the scrollbar and then on a reopen it is gone.
      The container of the scrollbar is there, but the thumb is gone.

      Tested the application on 4.9.1 and the problem was gone.

      I will upload a sample project.

      Attachments

        1. DataGridBug.html
          6 kB
          Swen van Zanten
        2. DataGridBug.swf
          1.64 MB
          Swen van Zanten
        3. DataGridBug2.mxml
          7 kB
          Swen van Zanten
        4. DataGridBug2.swf
          1.64 MB
          Swen van Zanten
        5. expressInstall.swf
          0.7 kB
          Swen van Zanten
        6. Main.mxml
          6 kB
          Swen van Zanten
        7. Main-app.xml
          11 kB
          Swen van Zanten
        8. swfobject.js
          10 kB
          Swen van Zanten
        9. VScrollBar.as
          21 kB
          Alex Harui

        Issue Links

        Activity

          jmclean Justin Mclean added a comment -

          Confirmed - at a guess it's likely an issue with the new callout button. 4.9.1 didn't have the spark callout button - how did you test this code on 4.9.1?

          jmclean Justin Mclean added a comment - Confirmed - at a guess it's likely an issue with the new callout button. 4.9.1 didn't have the spark callout button - how did you test this code on 4.9.1?

          Well the problem not only happens with a new CallOutButton but also on a includeIn state change.
          I will upload a new example.

          hdsign Swen van Zanten added a comment - Well the problem not only happens with a new CallOutButton but also on a includeIn state change. I will upload a new example.

          I imported the first swc of the calloutbutton.. net.riastar.components
          I then compiled 4.9.1 with that component.. after that I switched back to 4.10.0 with that same swc. same problem.

          hdsign Swen van Zanten added a comment - I imported the first swc of the calloutbutton.. net.riastar.components I then compiled 4.9.1 with that component.. after that I switched back to 4.10.0 with that same swc. same problem.

          Just noticed on component/application resize the scrollbar appears again.
          It does not fix the bug though.

          hdsign Swen van Zanten added a comment - Just noticed on component/application resize the scrollbar appears again. It does not fix the bug though.
          aharui Alex Harui added a comment -

          This seems to fix the problem. The ScrollBar will wait to fix up its settings until after the child/viewport has its measurements.

          aharui Alex Harui added a comment - This seems to fix the problem. The ScrollBar will wait to fix up its settings until after the child/viewport has its measurements.

          I don't have a clue how to test this out

          hdsign Swen van Zanten added a comment - I don't have a clue how to test this out
          aharui Alex Harui added a comment -

          In the source tree for your test case, create the sub folder 'spark' and in that folder create a sub-folder 'components' and place the VScrollBar.as in there. That should cause this updated version to override the default version in the SDK. To prove it, add a trace statement to VScrollBar.as.

          aharui Alex Harui added a comment - In the source tree for your test case, create the sub folder 'spark' and in that folder create a sub-folder 'components' and place the VScrollBar.as in there. That should cause this updated version to override the default version in the SDK. To prove it, add a trace statement to VScrollBar.as.

          Thank you.. And I can confirm it works on the test project aswell as on the error find project

          hdsign Swen van Zanten added a comment - Thank you.. And I can confirm it works on the test project aswell as on the error find project
          aharui Alex Harui added a comment -

          fixed in 9c5f91e5f25459c34b420c8596bb80adc5441498

          aharui Alex Harui added a comment - fixed in 9c5f91e5f25459c34b420c8596bb80adc5441498

          People

            aharui Alex Harui
            hdsign Swen van Zanten
            Votes:
            2 Vote for this issue
            Watchers:
            Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack