terminal-in-react
terminal-in-react copied to clipboard
Prevent Terminal from Scrolling
If you want to prevent the terminal from scrolling. Then the following is a quick hack:
Open /node_modules/terminal-in-react/lib/js/components/Content/index.js inside your node modules. Then find &&_this.inputWrapper.scrollIntoView(!1) and delete it. Rebuild your react web application and it should no longer scroll.
I believe there should be an option that allows the user to control whether the terminal scrolls or not.
+1 any plans on fixing this ?