@@ -78,7 +78,6 @@ class AskQuickQuestionAction extends Action2 {
78
78
79
79
this . _input = quickInputService . createQuickPick ( ) ;
80
80
disposableStore . add ( this . _input ) ;
81
- this . _input . ignoreFocusOut = true ;
82
81
this . _input . placeholder = localize ( 'askabot' , "Ask {0} a question..." , providerInfo . displayName ) ;
83
82
84
83
// Setup toggle that will be used to open the chat view
@@ -93,7 +92,6 @@ class AskQuickQuestionAction extends Action2 {
93
92
disposableStore . add ( openInChat ) ;
94
93
disposableStore . add ( openInChat . onChange ( async ( ) => {
95
94
await this . _currentSession ?. openInChat ( this . _input ! . value ) ;
96
- this . _input ! . hide ( ) ;
97
95
this . _currentQuery = undefined ;
98
96
this . _currentSession ?. dispose ( ) ;
99
97
this . _currentSession = undefined ;
@@ -122,7 +120,7 @@ class AskQuickQuestionAction extends Action2 {
122
120
this . _currentQuery = undefined ;
123
121
this . _currentSession ?. dispose ( ) ;
124
122
this . _currentSession = undefined ;
125
- } , 1000 * 10 ) ; // 10 seconds
123
+ } , 1000 * 30 ) ; // 30 seconds
126
124
} ) ) ;
127
125
disposableStore . add ( this . _input . onDidAccept ( async ( ) => {
128
126
await this . _currentSession ?. accept ( this . _input ! . value ) ;
@@ -141,6 +139,7 @@ class AskQuickQuestionAction extends Action2 {
141
139
this . _currentSession . createList ( containerList , containerList . offsetWidth ) ;
142
140
143
141
disposableStore . add ( this . _currentSession . onDidClickFollowup ( async e => {
142
+ this . _input ! . focusOnInput ( ) ;
144
143
this . _input ! . value = e . message ;
145
144
await this . _currentSession ?. accept ( e . message ) ;
146
145
} ) ) ;
0 commit comments