File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
libs/remix-ui/remix-ai-assistant/src/components Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export interface PromptAreaProps {
30
30
aiContextGroupList : groupListType [ ]
31
31
aiAssistantGroupList : groupListType [ ]
32
32
textareaRef ?: React . RefObject < HTMLTextAreaElement >
33
+ maximizePanel : ( ) => Promise < void >
33
34
}
34
35
35
36
const _paq = ( window . _paq = window . _paq || [ ] )
@@ -57,7 +58,8 @@ export const PromptArea: React.FC<PromptAreaProps> = ({
57
58
modelBtnRef,
58
59
aiContextGroupList,
59
60
aiAssistantGroupList,
60
- textareaRef
61
+ textareaRef,
62
+ maximizePanel
61
63
} ) => {
62
64
63
65
return (
@@ -120,6 +122,7 @@ export const PromptArea: React.FC<PromptAreaProps> = ({
120
122
disabled = { isStreaming }
121
123
onFocus = { ( ) => {
122
124
dispatchActivity ( 'typing' , input )
125
+ maximizePanel ( )
123
126
} }
124
127
onChange = { e => {
125
128
dispatchActivity ( 'typing' , e . target . value )
You can’t perform that action at this time.
0 commit comments