# How to do "scroll to top" when navigating to next page (search ui)

**URL:** https://discuss.elastic.co/t/how-to-do-scroll-to-top-when-navigating-to-next-page-search-ui/309255
**Category:** Elastic Search
**Tags:** elastic-app-search
**Created:** [July 9, 2022, 5:38pm UTC](https://discuss.elastic.co/t/how-to-do-scroll-to-top-when-navigating-to-next-page-search-ui/309255 "2022-07-09T17:38:58Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![eliezra236](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eliezra236/32/78034_2.png) [@eliezra236](https://discuss.elastic.co/u/eliezra236)
#### Post date: [July 9, 2022, 5:38pm UTC](https://discuss.elastic.co/t/how-to-do-scroll-to-top-when-navigating-to-next-page-search-ui/309255/1 "2022-07-09T17:38:58Z")

</div>

Hi,  
I am implementing search ui with app search, and the `Paging` component doesn't seem to have this option.

Is there a way to add this behavior?

---

<div class="post-metadata">

### Author: ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)
#### Post date: [July 12, 2022, 1:12pm UTC](https://discuss.elastic.co/t/how-to-do-scroll-to-top-when-navigating-to-next-page-search-ui/309255/2 "2022-07-12T13:12:32Z")

</div>

Hey @eliezra236,

Nothing out-of-the-box available, here is another issue a user posted with a potential workaround: [Moving to next page stays at the bottom of the page · Issue #500 · elastic/search-ui · GitHub](https://github.com/elastic/search-ui/issues/500). Be sure to drop a line in that issue and add any additional input or thoughts you have to help drive the issue forward.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 9, 2022, 1:13pm UTC](https://discuss.elastic.co/t/how-to-do-scroll-to-top-when-navigating-to-next-page-search-ui/309255/3 "2022-08-09T13:13:23Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
