mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 09:01:06 +03:00
bug/Chat input fix
This commit is contained in:
@@ -43,7 +43,7 @@ const ChatExpandDialog = ({ show, dialogProps, onClear, onCancel }) => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogContent>
|
<DialogContent sx={{ display: 'flex', justifyContent: 'flex-end', flexDirection: 'column' }}>
|
||||||
<ChatMessage isDialog={true} open={dialogProps.open} chatflowid={dialogProps.chatflowid} />
|
<ChatMessage isDialog={true} open={dialogProps.open} chatflowid={dialogProps.chatflowid} />
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ export const ChatMessage = ({ open, chatflowid, isDialog }) => {
|
|||||||
value={userInput}
|
value={userInput}
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
multiline={true}
|
multiline={true}
|
||||||
maxRows={2}
|
maxRows={isDialog ? 7 : 2}
|
||||||
endAdornment={
|
endAdornment={
|
||||||
<InputAdornment position='end' sx={{ padding: '15px' }}>
|
<InputAdornment position='end' sx={{ padding: '15px' }}>
|
||||||
<IconButton type='submit' disabled={loading || !chatflowid} edge='end'>
|
<IconButton type='submit' disabled={loading || !chatflowid} edge='end'>
|
||||||
|
|||||||
Reference in New Issue
Block a user