diff --git a/lib/components/terms.js b/lib/components/terms.js index 4d83c8fe..4af44480 100644 --- a/lib/components/terms.js +++ b/lib/components/terms.js @@ -151,13 +151,16 @@ export default class Terms extends Component { }, termGroup: { - display: 'none', + display: 'block', width: '100%', - height: '100%' + height: '100%', + position: 'absolute', + top: '100%', // Offscreen to pause xterm rendering, thanks to IntersectionObserver + left: 0 }, termGroupActive: { - display: 'block' + top: 0 } }; }