fix(app): snap to bottom on prompt
This commit is contained in:
parent
d9b9485019
commit
ae2693425e
2 changed files with 9 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ interface PromptInputProps {
|
|||
ref?: (el: HTMLDivElement) => void
|
||||
newSessionWorktree?: string
|
||||
onNewSessionWorktreeReset?: () => void
|
||||
onSubmit?: () => void
|
||||
}
|
||||
|
||||
const EXAMPLES = [
|
||||
|
|
@ -1110,6 +1111,8 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
}
|
||||
if (!session) return
|
||||
|
||||
props.onSubmit?.()
|
||||
|
||||
const model = {
|
||||
modelID: currentModel.id,
|
||||
providerID: currentModel.provider.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue