feat: enable autofocus to the `edit chatflow title` field to improve UI usability (#3264)
feat: enable autofocus to the `edit chatflow title` field to improve usability The canvas header has only one input and it is the primary one, there is no need for an extra click to be able to edit the title
This commit is contained in:
parent
b8b34832b4
commit
aeb5525bb0
|
|
@ -303,6 +303,8 @@ const CanvasHeader = ({ chatflow, isAgentCanvas, handleSaveFlow, handleDeleteFlo
|
|||
) : (
|
||||
<Stack flexDirection='row' sx={{ width: '100%' }}>
|
||||
<TextField
|
||||
//eslint-disable-next-line jsx-a11y/no-autofocus
|
||||
autoFocus
|
||||
size='small'
|
||||
inputRef={flowNameRef}
|
||||
sx={{
|
||||
|
|
|
|||
Loading…
Reference in New Issue