scroll tweak
This commit is contained in:
parent
3dc0efe5eb
commit
5f52f57971
|
@ -47,6 +47,7 @@ class ShowStage extends Component {
|
||||||
if(this.props.stage<=4)
|
if(this.props.stage<=4)
|
||||||
this.timeoutID = setTimeout(this.removeStage, 1500); // how soon we start fading out (1500)
|
this.timeoutID = setTimeout(this.removeStage, 1500); // how soon we start fading out (1500)
|
||||||
this.showStage();
|
this.showStage();
|
||||||
|
window.scrollTo(0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
|
Loading…
Reference in a new issue