Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Scrolling issue Scroll container + Timeline

Hi,

I have an issue with Timeline control nested in ScrollContainer (see below). After I trigger visibility of this control (via a separate viewModel) it starts to show strange vertical/horizontal scrollbars. When I navigate back to the previous screen and again to this one, the issue dissapears.

Code:

<ScrollContainer

  horizontal="true"

  vertical="false">

       <layoutData>

            <l:GridData

                 span="L9 M7 S6">

            </l:GridData>

       </layoutData>

       <s:Timeline

            id="Timeline"

            axisOrientation="Horizontal"

            enableScroll="false"

            showHeaderBar="false"

            visible="{objectView>/headerExpanded}"

            enableAllInFilterItem="false"

            select="onChangeNumberPress">

Any possible workaround here? I seems like I need to call something like "redraw" method of the control, but there is no such methods for UI5.

Thank you in advance

BR,

Siarhei

Former Member
Not what you were looking for? View more on this topic or Ask a question