Put offscreen terms far far away (#2619)

This commit is contained in:
CHaBou 2018-01-17 23:24:10 +01:00 committed by GitHub
parent 904f94a1bb
commit 97fe79bda4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,12 +155,12 @@ export default class Terms extends Component {
width: '100%',
height: '100%',
position: 'absolute',
top: '100%', // Offscreen to pause xterm rendering, thanks to IntersectionObserver
left: 0
top: 0,
left: '-9999em' // Offscreen to pause xterm rendering, thanks to IntersectionObserver
},
termGroupActive: {
top: 0
left: 0
}
};
}