mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fix split view issue
This commit is contained in:
parent
f9ce44ba25
commit
734701c5e7
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ export default class Term extends React.PureComponent {
|
|||
|
||||
// The parent element for the terminal is attached and removed manually so
|
||||
// that we can preserve it across mounts and unmounts of the component
|
||||
this.termRef = props.term ? props.term._core._parent : document.createElement('div');
|
||||
this.termRef = props.term ? props.term.element.parentElement : document.createElement('div');
|
||||
this.termRef.className = 'term_fit term_term';
|
||||
|
||||
this.termWrapperRef.appendChild(this.termRef);
|
||||
|
|
|
|||
Loading…
Reference in a new issue