mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 21:03:22 +01:00
Added Auto scroll user back to the top when page navigation is clicked (#1270)
This commit is contained in:
parent
25311247ed
commit
d042ec42ee
2 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
* Added scene queue.
|
||||
|
||||
### 🎨 Improvements
|
||||
* Scroll to top when changing page number.
|
||||
* Add URL filter criteria for scenes, galleries, movies, performers and studios.
|
||||
* Add HTTP endpoint for health checking at `/healthz`.
|
||||
* Support `today` and `yesterday` for `parseDate` in scrapers.
|
||||
|
|
|
|||
|
|
@ -534,6 +534,7 @@ const useList = <QueryResult extends IQueryResult, QueryData extends IDataItem>(
|
|||
const newFilter = _.cloneDeep(filter);
|
||||
newFilter.currentPage = page;
|
||||
updateQueryParams(newFilter);
|
||||
window.scrollTo(0, 0);
|
||||
};
|
||||
|
||||
const renderFilter = !options.filterHook
|
||||
|
|
|
|||
Loading…
Reference in a new issue