Merge pull request #1553 from ghsuvr123/console-scroll-to-bottom
Scroll console to bottom fixes #1541
This commit is contained in:
commit
371e859b2c
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ const Console = () => {
|
|||
|
||||
const cm = useRef({});
|
||||
|
||||
useDidUpdate(() => { cm.current.scrollTop = cm.current.scrollHeight; });
|
||||
|
||||
const consoleClass = classNames({
|
||||
'preview-console': true,
|
||||
'preview-console--collapsed': !isExpanded
|
||||
|
|
Loading…
Reference in a new issue