File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2806,10 +2806,11 @@ export class WorkspaceSvg
28062806 /** See IFocusableTree.onTreeBlur. */
28072807 onTreeBlur ( nextTree : IFocusableTree | null ) : void {
28082808 // If the flyout loses focus, make sure to close it unless focus is being
2809- // lost to the toolbox.
2809+ // lost to the toolbox or ephemeral focus .
28102810 if ( this . isFlyout && this . targetWorkspace ) {
28112811 // Only hide the flyout if the flyout's workspace is losing focus and that
2812- // focus isn't returning to the flyout itself or the toolbox.
2812+ // focus isn't returning to the flyout itself, the toolbox, or ephemeral.
2813+ if ( getFocusManager ( ) . ephemeralFocusTaken ( ) ) return ;
28132814 const flyout = this . targetWorkspace . getFlyout ( ) ;
28142815 const toolbox = this . targetWorkspace . getToolbox ( ) ;
28152816 if ( toolbox && nextTree === toolbox ) return ;
You can’t perform that action at this time.
0 commit comments