Skip to content

[SF][List]: How to scroll to top when refresh list and not trigger load more event #11741

Closed Answered by nnaydenow
josepinesu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @josepinesu,

Could you try to call scrollIntoView method of the list item which you want to scroll to?

Like:

document.querySelector("[ui5-list]").items[0].scrollIntoView()

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@josepinesu
Comment options

Answer selected by josepinesu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants