Scroll recycler view to offset
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Scroll recycler view to offset

  • Dark
    Light
  • PDF

Scrolls the target recycler view component to the given offset, in pixels.

To scroll to the top of the recycler view, for example, set Offset to 0. If the selected component is not a recycler view, nothing happens.

Input arguments

Label Key Type Required? Default Description
Target recycler view recyclerViewId ComponentId Yes Target recycler view component to scroll.
Scroll offset offset Number(integer) Yes Offset to scroll to, given as pixels from the start of the scroll view.
Animate scroll? animated Boolean Yes true If true, scrolling animates instead of being instantaneous.

Output arguments

Number of outputs: 1

No output arguments.

Events

No events.

Errors

No errors.


Was this article helpful?

What's Next