aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Feeds.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components/Feeds.js')
-rw-r--r--vnext/src/components/Feeds.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/vnext/src/components/Feeds.js b/vnext/src/components/Feeds.js
index 0c8f46ae..b70720ac 100644
--- a/vnext/src/components/Feeds.js
+++ b/vnext/src/components/Feeds.js
@@ -22,6 +22,8 @@ class Feed extends React.Component {
this.loadMessages = this.loadMessages.bind(this);
}
componentDidMount() {
+ document.body.scrollTop = 0;
+ document.documentElement.scrollTop = 0;
this.loadMessages(this.props.visitor.hash);
}
componentWillReceiveProps(nextProps) {