diff --git a/products/ASC.Files/Client/src/components/pages/Home/Section/Body/index.js b/products/ASC.Files/Client/src/components/pages/Home/Section/Body/index.js index 0b890a6ae7..3135e0576c 100644 --- a/products/ASC.Files/Client/src/components/pages/Home/Section/Body/index.js +++ b/products/ASC.Files/Client/src/components/pages/Home/Section/Body/index.js @@ -256,6 +256,10 @@ class SectionBodyContent extends React.Component { componentDidUpdate(prevProps) { if (this.props.isTabletView) { + if (this.props.folderId !== prevProps.folderId) { + this.customScrollElm && this.customScrollElm.scrollTo(0, 0); + } + if (this.props.filter.page !== prevProps.filter.page) this.isScrollUpOnTheNextPage = true; if (this.isScrollUpOnTheNextPage) {