diff --git a/public/react/src/App.js b/public/react/src/App.js index 15105f749..85267a4e6 100644 --- a/public/react/src/App.js +++ b/public/react/src/App.js @@ -224,7 +224,11 @@ class App extends Component { componentDidMount() { // force an update if the URL changes - history.listen(() => this.forceUpdate()); + history.listen(() => { + this.forceUpdate() + const $ = window.$ + $("html").animate({ scrollTop: $('html').scrollTop() - 0 }) + }); initAxiosInterceptors(this.props)