File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,9 @@ const kernelPlugin: JupyterLiteServerPlugin<void> = {
47
47
document . body . appendChild ( welcomePanel . getElement ( ) ) ;
48
48
const kernel = new EmbeddedKernel ( options , serviceContainer ) ;
49
49
50
- welcomePanel . show ( ) ;
50
+ // welcomePanel.show();
51
+ welcomePanel . initialShow ( ) ;
52
+
51
53
await kernel . ready ;
52
54
53
55
activeKernels . set ( kernel . id , kernel ) ;
Original file line number Diff line number Diff line change @@ -183,6 +183,19 @@ export default class WelcomePanel {
183
183
this . dialogPanel . show ( ) ;
184
184
//this.minimizedPanel.hide();
185
185
this . minimizedPanel . show ( ) ;
186
+ this . minimizedPanel . hide ( ) ;
187
+ }
188
+
189
+ initialShow ( ) : void {
190
+ this . element . style . display = 'block' ;
191
+ this . element . classList . remove ( 'minimized' ) ;
192
+ this . element . classList . add ( 'visible' ) ;
193
+
194
+ this . element . style . transition = 'opacity 0.3s ease-in-out' ;
195
+ this . element . style . opacity = '1' ;
196
+
197
+ this . dialogPanel . hide ( ) ;
198
+ this . minimizedPanel . show ( ) ;
186
199
}
187
200
188
201
hide ( ) : void {
You can’t perform that action at this time.
0 commit comments