Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit a2fb654

Browse files
committed
Disable scroll animation on log screen
1 parent fa9dbfb commit a2fb654

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/view/cli.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ class LogOutput extends Component {
9090
}
9191

9292
get printLogs() {
93-
this._tScroll = setTimeout(() => this._ref.current.scrollToEnd(), 50);
93+
const opt = { animated: false };
94+
this._tScroll = setTimeout(() => this._ref.current.scrollToEnd(opt), 50);
9495
return this.props.logs;
9596
}
9697

0 commit comments

Comments
 (0)