Merge branch 'develop' into feature/mobile-examples
This commit is contained in:
commit
6638035b53
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ const Console = () => {
|
||||||
|
|
||||||
const cm = useRef({});
|
const cm = useRef({});
|
||||||
|
|
||||||
|
useDidUpdate(() => { cm.current.scrollTop = cm.current.scrollHeight; });
|
||||||
|
|
||||||
const consoleClass = classNames({
|
const consoleClass = classNames({
|
||||||
'preview-console': true,
|
'preview-console': true,
|
||||||
'preview-console--collapsed': !isExpanded
|
'preview-console--collapsed': !isExpanded
|
||||||
|
|
Loading…
Reference in a new issue