From 542d536dab627c9fd24ec0d440b0106d71153258 Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 13:46:12 -0300 Subject: Scroll to top view change --- src/Thread.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Thread.js') diff --git a/src/Thread.js b/src/Thread.js index f23c081..3a964b5 100644 --- a/src/Thread.js +++ b/src/Thread.js @@ -50,6 +50,7 @@ class Thread extends Component { }); this.lastTime = resource.time; }); + window.scrollTo(0, 0); } componentWillUnmount() { -- cgit v1.2.1-18-gbd029