From 8c0984c22000b27d84b8e2d883f8f1dacf6c6208 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 11 Mar 2019 14:58:18 +0300 Subject: Trying to fix ios scrolling --- vnext/src/components/Thread.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'vnext/src/components/Thread.js') diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index f94ad358..2c88abc3 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -32,8 +32,6 @@ export default class Thread extends React.Component { this.loadReplies(); } loadReplies() { - document.body.scrollTop = 0; - document.documentElement.scrollTop = 0; this.setState({ replies: [], loading: true }); const { mid } = this.props.match.params; let params = { -- cgit v1.2.3